- Timestamp:
- Dec 9, 2008, 2:07:24 AM (16 years ago)
- Location:
- code/branches/objecthierarchy2/src/orxonox/overlays/debug
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/overlays/debug/DebugFPSText.cc
r2087 r2361 49 49 void DebugFPSText::tick(float dt) 50 50 { 51 SUPER(DebugFPSText, tick, dt); 52 51 53 float fps = GraphicsEngine::getInstance().getAverageFramesPerSecond(); 52 54 this->setCaption(convertToString(fps)); -
code/branches/objecthierarchy2/src/orxonox/overlays/debug/DebugRTRText.cc
r2087 r2361 49 49 void DebugRTRText::tick(float dt) 50 50 { 51 SUPER(DebugRTRText, tick, dt); 52 51 53 float rtr = GraphicsEngine::getInstance().getAverageTickTime(); 52 54 this->setCaption(convertToString(rtr));
Note: See TracChangeset
for help on using the changeset viewer.