]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/hud_ladr.cxx
Tweaks for Mips Irix compilers.
[flightgear.git] / src / Cockpit / hud_ladr.cxx
index 081cb7c787f6938fb82b2dab78ecefdb212bce47..2e9524ac380205e879d2eeea612e711ec2d9e08c 100644 (file)
@@ -276,8 +276,8 @@ void HudLadder :: draw( void )
        //  velocity vector
        glBegin(GL_LINE_LOOP);  // Use polygon to approximate a circle 
         for(count=0; count<50; count++) {             
-           cosine = 6 * cos(count * 2 * M_PI/50.0); 
-            sine =   6 * sin(count * 2 * M_PI/50.0); 
+           cosine = 6 * cos(count * 2 * FG_PI/50.0); 
+            sine =   6 * sin(count * 2 * FG_PI/50.0); 
             glVertex2f(cosine+vel_x, sine+vel_y);
        }     
        glEnd();