#ifdef'd out the artifical simulation time code

This commit is contained in:
Robert Osfield 2007-01-25 12:16:38 +00:00
parent 7232a831da
commit aa339f8e7a

View File

@ -235,6 +235,10 @@ int main( int argc, char **argv )
viewer.setCameraManipulator(new osgGA::TrackballManipulator());
#if 0
// use of custom simulation time.
viewer.realize();
double simulationTime = 100.0;
@ -244,4 +248,13 @@ int main( int argc, char **argv )
viewer.frame(simulationTime);
simulationTime -= 0.01;
}
return 0;
#else
// normal viewer usage.
return viewer.run();
#endif
}