Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 948 vs 949 for /trunk/Source Code/Environment/Water/Water.cpp

Diff revisions: vs.
  @@ -101,9 +101,10 @@
101 101 return sgn.get<BoundsComponent>()->getBoundingBox().containsPoint(point);
102 102 }
103 103
104 - bool WaterPlane::onRender(const SceneRenderState& sceneRenderState,
104 + bool WaterPlane::onRender(SceneGraphNode& sgn,
105 + const SceneRenderState& sceneRenderState,
105 106 const RenderStagePass& renderStagePass) {
106 - return _plane->onRender(sceneRenderState, renderStagePass);
107 + return _plane->onRender(sgn, sceneRenderState, renderStagePass);
107 108 }
108 109
109 110 void WaterPlane::buildDrawCommands(SceneGraphNode& sgn,
  @@ -116,7 +117,7 @@
116 117
117 118 GFX::DrawCommand drawCommand;
118 119 drawCommand._drawCommands.push_back(cmd);
119 - GFX::AddDrawCommands(pkgInOut.commands(), drawCommand);
120 + pkgInOut.addDrawCommand(drawCommand);
120 121
121 122 SceneNode::buildDrawCommands(sgn, renderStagePass, pkgInOut);
122 123 }