Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/Graphs/Headers/SceneNode.h

Diff revisions: vs.
  @@ -68,11 +68,16 @@
68 68 virtual bool getDrawState() const { return _renderState.getDrawState(); }
69 69 /// Some SceneNodes may need special case handling. I.E. water shouldn't render itself in REFLECTION_STAGE
70 70 virtual bool getDrawState(const RenderStage& currentStage);
71 - virtual void getDrawCommands(SceneGraphNode* const sgn, const RenderStage& currentRenderStage, SceneRenderState& sceneRenderState, vectorImpl<GenericDrawCommand>& drawCommandsOut) = 0;
71 + virtual void getDrawCommands(SceneGraphNode* const sgn,
72 + const RenderStage& currentRenderStage,
73 + SceneRenderState& sceneRenderState,
74 + vectorImpl<GenericDrawCommand>& drawCommandsOut) = 0;
72 75 /*//Rendering/Processing*/
73 76
74 77 virtual bool unload();
75 - virtual bool isInView( const SceneRenderState& sceneRenderState, SceneGraphNode* const sgn, const bool distanceCheck = true );
78 + virtual bool isInView(const SceneRenderState& sceneRenderState,
79 + SceneGraphNode* const sgn,
80 + const bool distanceCheck = true);
76 81 virtual void setMaterialTpl(Material* const m);
77 82 Material* const getMaterialTpl();
78 83
  @@ -99,7 +104,9 @@
99 104 /// Called from SceneGraph "sceneUpdate"
100 105 virtual void sceneUpdate(const U64 deltaTime, SceneGraphNode* const sgn, SceneState& sceneState);
101 106 /*Rendering/Processing*/
102 - virtual void render(SceneGraphNode* const sgn, const SceneRenderState& sceneRenderState, const RenderStage& currentRenderStage) = 0; //Sounds are played, geometry is displayed etc.
107 + virtual void render(SceneGraphNode* const sgn,
108 + const SceneRenderState& sceneRenderState,
109 + const RenderStage& currentRenderStage) = 0;
103 110
104 111 virtual void onCameraChange(SceneGraphNode* const sgn) {}
105 112