Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2008, 5:35:34 PM (16 years ago)
Author:
FelixSchulthess
Message:

rewritten navigation algebra… very ugly, and not optimized

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/orxonox/hud/HUD.cc

    r1410 r1411  
    131131    }
    132132
     133    void HUD::setFPS(float fps){
     134        fpsText->setCaption("FPS: " + Ogre::StringConverter::toString(fps));
     135    }
     136
    133137    void HUD::addRadarObject(Vector3 pos){
    134138        // check if this is the first RadarObject to create
     
    152156    }
    153157
    154     /*static*/ void HUD::setFPS(float fps){
    155         HUD::getSingleton().fpsText->setCaption("FPS: " + Ogre::StringConverter::toString(fps));
    156     }
    157 
    158158    /*static*/ void HUD::setEnergy(float value){
    159159        HUD::getSingleton().energyBar->setValue(value);
Note: See TracChangeset for help on using the changeset viewer.