Ignore:
Timestamp:
11/30/06 17:13:59 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/src/HierarchicalSystem/include/HierarchicalSystem.h

    r1831 r1834  
    4848                bool result = ExampleFrameListener::frameStarted(evt); 
    4949                 
    50                 float t = (float) framecount / 50.0; 
     50                Timer* timer = Root::getSingleton().getTimer(); 
     51                 
     52                float t = (float) timer->getMilliseconds() / 2000.0; 
    5153                float r = 150; 
    5254                lightNode->setPosition( r * sin(t), r * sin(5 * t) + 200 , r * cos(t)); 
     
    8789        void createScene(void) 
    8890    { 
    89                 createPostproc(); 
     91                //createPostproc(); 
    9092 
    9193                OgreIlluminationManager::getSingleton().setMainCamera(mCamera); 
Note: See TracChangeset for help on using the changeset viewer.