Changeset 1834 for GTP/trunk/App/Demos/Illum/Ogre/src/HierarchicalSystem
- Timestamp:
- 11/30/06 17:13:59 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/HierarchicalSystem/include/HierarchicalSystem.h
r1831 r1834 48 48 bool result = ExampleFrameListener::frameStarted(evt); 49 49 50 float t = (float) framecount / 50.0; 50 Timer* timer = Root::getSingleton().getTimer(); 51 52 float t = (float) timer->getMilliseconds() / 2000.0; 51 53 float r = 150; 52 54 lightNode->setPosition( r * sin(t), r * sin(5 * t) + 200 , r * cos(t)); … … 87 89 void createScene(void) 88 90 { 89 createPostproc();91 //createPostproc(); 90 92 91 93 OgreIlluminationManager::getSingleton().setMainCamera(mCamera);
Note: See TracChangeset
for help on using the changeset viewer.