Changeset 9 for Swollen/swollen
- Timestamp:
- Nov 1, 2004, 11:57:59 AM (20 years ago)
- Location:
- Swollen/swollen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Swollen/swollen/keyboardeventhandler.cpp
r6 r9 5 5 KeyboardEventHandler::KeyboardEventHandler( int nTimesteps, float tps) 6 6 { 7 _paused = DEF_PAUSED_START; 8 _direction = 1; 9 _ntimesteps = nTimesteps; 10 _tps = tps; 11 _tpsorig = tps; 12 _timestepchanged = false; 13 _timestep = 0; 14 _prevtime = 0; 15 _togglewireframe = false; 7 _paused = DEF_PAUSED_START; 8 _direction = 1; 9 _ntimesteps = nTimesteps; 10 _tps = tps; 11 _tpsorig = tps; 12 _timestepchanged = false; 13 _timestep = 0; 14 _prevtime = 0; 15 _togglewireframe = false; 16 _togglecullnearzero = false; 16 17 } 17 18 -
Swollen/swollen/keyboardeventhandler.h
r6 r9 23 23 virtual bool timestepChanged(); 24 24 virtual bool toggleWireframe(); 25 virtual bool toggleCullNearZero(); 25 26 virtual int getTimestep(){return (unsigned int) _timestep;} 26 27 virtual void setTime(float time);
Note: See TracChangeset
for help on using the changeset viewer.