Changeset 1461 for code/branches/network/src/orxonox
- Timestamp:
- May 28, 2008, 8:07:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/hud/HUD.cc
r1456 r1461 213 213 214 214 /*static*/ void HUD::toggleFPS(){ 215 if(HUD::getSingleton().showFPS) HUD::getSingleton().showFPS = false; 216 else HUD::getSingleton().showFPS = true; 215 HUD::getSingleton().showFPS = !HUD::getSingleton().showFPS; 217 216 } 218 217 219 218 /*static*/ void HUD::toggleRenderTime(){ 220 if(HUD::getSingleton().showRenderTime) HUD::getSingleton().showRenderTime = false; 221 else HUD::getSingleton().showRenderTime = true; 219 HUD::getSingleton().showRenderTime = !HUD::getSingleton().showRenderTime; 222 220 } 223 221 }
Note: See TracChangeset
for help on using the changeset viewer.