Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

fixed small but stupid problem with arctan

File:
1 edited

Legend:

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

    r1356 r1357  
    127127        // from the angle we find out where to draw the marker
    128128        // and which of the four arrows to take
    129         float r1 = 0.97;//atan(windowW_/windowH_); // doesn't work correctly yet
     129        float r1 = atan((float)(windowW_)/(float)(windowH_));
    130130        float phi = focus_->phi_;
    131131        if(focus_->right_){
Note: See TracChangeset for help on using the changeset viewer.