Changeset 1653 for code/branches/gui/src/orxonox/overlays/debug
- Timestamp:
- Aug 5, 2008, 9:50:26 PM (16 years ago)
- Location:
- code/branches/gui/src/orxonox/overlays/debug
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/overlays/debug/DebugFPSText.cc
r1625 r1653 49 49 void DebugFPSText::tick(float dt) 50 50 { 51 float fps = GraphicsEngine::get Singleton().getAverageFramesPerSecond();51 float fps = GraphicsEngine::getInstance().getAverageFramesPerSecond(); 52 52 this->text_->setCaption(this->getCaption() + convertToString(fps)); 53 53 } -
code/branches/gui/src/orxonox/overlays/debug/DebugRTRText.cc
r1625 r1653 49 49 void DebugRTRText::tick(float dt) 50 50 { 51 float rtr = GraphicsEngine::get Singleton().getAverageTickTime();51 float rtr = GraphicsEngine::getInstance().getAverageTickTime(); 52 52 this->text_->setCaption(this->getCaption() + convertToString(rtr)); 53 53 }
Note: See TracChangeset
for help on using the changeset viewer.