From: curt Date: Tue, 6 Jan 1998 01:20:16 +0000 (+0000) Subject: Tweaks to help building with MSVC++ X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0363628a55af58550fc9878b174bd9ed2aca9bed;p=simgear.git Tweaks to help building with MSVC++ --- diff --git a/Scenery/moon.c b/Scenery/moon.c index 4f4652be..dd39f072 100644 --- a/Scenery/moon.c +++ b/Scenery/moon.c @@ -29,6 +29,7 @@ #include "moon.h" #include "../Aircraft/aircraft.h" +#include "../Include/constants.h" #include "../Include/general.h" #include "../Main/views.h" #include "../Time/fg_time.h" @@ -242,7 +243,7 @@ struct CelestialCoord fgCalculateMoon(struct OrbElements params, rho = 0.99883 + 0.00167 * cos(2 * fgDegToRad(FG_Latitude)); if (geocCoord.RightAscension < 0) - geocCoord.RightAscension += (2*M_PI); + geocCoord.RightAscension += (2*FG_PI); HA = t.lst - (3.8197186 * geocCoord.RightAscension); @@ -319,9 +320,12 @@ void fgMoonRender() { /* $Log$ -/* Revision 1.15 1998/01/05 18:44:35 curt -/* Add an option to advance/decrease time from keyboard. +/* Revision 1.16 1998/01/06 01:20:24 curt +/* Tweaks to help building with MSVC++ /* + * Revision 1.15 1998/01/05 18:44:35 curt + * Add an option to advance/decrease time from keyboard. + * * Revision 1.14 1997/12/30 20:47:50 curt * Integrated new event manager with subsystem initializations. *