Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2008, 1:05:53 PM (16 years ago)
Author:
FelixSchulthess
Message:

added distance display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud3/src/orxonox/hud/RadarOverlayElement.cc

    r1354 r1356  
    181181        }
    182182
     183        float RadarOverlayElement::getDist2Focus(){
     184            return((focus_->pos_-shipPos_).length());
     185        }
     186
    183187        float RadarOverlayElement::calcRadius(RadarObject* obj){
    184188            return(acos((currentDir_.dotProduct(obj->pos_ - shipPos_))/
Note: See TracChangeset for help on using the changeset viewer.