Show
Ignore:
Timestamp:
01/25/07 13:16:38 (8 years ago)
Author:
robert
Message:

#ifdef'd out the artifical simulation time code

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osganimate/osganimate.cpp

    r6051 r6052  
    236236    viewer.setCameraManipulator(new osgGA::TrackballManipulator()); 
    237237 
     238#if 0 
     239 
     240    // use of custom simulation time. 
     241     
    238242    viewer.realize(); 
    239  
     243     
    240244    double simulationTime = 100.0; 
    241245     
     
    245249        simulationTime -= 0.01; 
    246250    } 
    247 } 
     251     
     252    return 0; 
     253#else 
     254 
     255    // normal viewer usage. 
     256 
     257    return viewer.run(); 
     258 
     259#endif 
     260}