Changeset 1621 for code/branches/hud/src/orxonox/overlays/debug
- Timestamp:
- Jun 23, 2008, 9:12:59 PM (17 years ago)
- Location:
- code/branches/hud/src/orxonox/overlays/debug
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/orxonox/overlays/debug/DebugFPSText.cc
r1619 r1621 49 49 void DebugFPSText::tick(float dt) 50 50 { 51 float fps = GraphicsEngine::getSingleton().getAverageF PS();51 float fps = GraphicsEngine::getSingleton().getAverageFramesPerSecond(); 52 52 this->text_->setCaption(this->getCaption() + convertToString(fps)); 53 53 } -
code/branches/hud/src/orxonox/overlays/debug/DebugRTRText.cc
r1619 r1621 49 49 void DebugRTRText::tick(float dt) 50 50 { 51 float rtr = GraphicsEngine::getSingleton().getAverage RTR();51 float rtr = GraphicsEngine::getSingleton().getAverageTickTime(); 52 52 this->text_->setCaption(this->getCaption() + convertToString(rtr)); 53 53 }
Note: See TracChangeset
for help on using the changeset viewer.