X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCockpit%2Fhud_ladr.cxx;h=2e9524ac380205e879d2eeea612e711ec2d9e08c;hb=29275ce1ecf9c4ea302aacca8c5ae5d4d3319a17;hp=081cb7c787f6938fb82b2dab78ecefdb212bce47;hpb=af80c2080b0049560cd250bef4f093abc200db94;p=flightgear.git diff --git a/src/Cockpit/hud_ladr.cxx b/src/Cockpit/hud_ladr.cxx index 081cb7c78..2e9524ac3 100644 --- a/src/Cockpit/hud_ladr.cxx +++ b/src/Cockpit/hud_ladr.cxx @@ -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();