Changeset 1356 for GTP/trunk/App/Demos/Illum
- Timestamp:
- 09/13/06 13:22:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/GameToolsParticleDemo/include/GameToolsParticleDemo.h
r1054 r1356 171 171 mainLightNode->attachObject(mainLight); 172 172 173 /*173 174 174 {//SBB 175 175 OgreSharedRuns* sharedruns = new OgreSharedRuns(); … … 178 178 group->addSharedRun(sharedruns); 179 179 SpriteParticleRenderer* renderer = (SpriteParticleRenderer*)pSys1->getRenderer(); 180 OgreRenderable* rend = new OgreRenderable(renderer->getSpriteSet() );180 OgreRenderable* rend = new OgreRenderable(renderer->getSpriteSet(), pSys1); 181 181 sharedruns->addRenderable(rend); 182 182 sharedruns->updateBounds(); … … 191 191 group->addRenderTechnique(techn); 192 192 renderer->getSpriteSet()->setRenderTechniqueGroup(group); 193 } */193 } 194 194 195 195 }
Note: See TracChangeset
for help on using the changeset viewer.