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/Environment/Vegetation/Headers/Vegetation.h

Diff revisions: vs.
  @@ -68,8 +68,13 @@
68 68 inline void toggleRendering(bool state){_render = state;}
69 69 ///parentTransform: the transform of the parent terrain node
70 70 void render(SceneGraphNode* const sgn, const SceneRenderState& sceneRenderState, const RenderStage& currentRenderStage);
71 - void getDrawCommands(SceneGraphNode* const sgn, const RenderStage& renderStage, SceneRenderState& sceneRenderState, vectorImpl<GenericDrawCommand>& drawCommandsOut);
72 - inline bool isInView( const SceneRenderState& sceneRenderState, SceneGraphNode* const sgn, const bool distanceCheck = true ) { return true; }
71 + void getDrawCommands(SceneGraphNode* const sgn,
72 + const RenderStage& renderStage,
73 + SceneRenderState& sceneRenderState,
74 + vectorImpl<GenericDrawCommand>& drawCommandsOut);
75 + inline bool isInView(const SceneRenderState& sceneRenderState,
76 + SceneGraphNode* const sgn,
77 + const bool distanceCheck = true ) { return true; }
73 78
74 79 protected:
75 80 void sceneUpdate(const U64 deltaTime, SceneGraphNode* const sgn, SceneState& sceneState);