]> git.mxchange.org Git - flightgear.git/blobdiff - src/Weather/weather.hxx
Irix MipsPro patches and fixes.
[flightgear.git] / src / Weather / weather.hxx
index 110de62a81051902e7c267af09891766371cf42a..03e5714f28e1819b0b8cbdf7ac72f235d8f47a88 100644 (file)
 #define _WEATHER_HXX
 
 
+#include <simgear/compiler.h>
+
+#include <simgear/xgl/xgl.h>
+
+#ifdef SG_HAVE_STD_INCLUDES
+#  include <cmath>
+#else
+#  include <math.h>
+#endif
+
 // holds the current weather values
 class FGWeather {
 
@@ -59,8 +69,8 @@ public:
        xglFogf (GL_FOG_DENSITY, fog_exp2_density);
        xglFogi( GL_FOG_MODE, GL_EXP2 );
 
-       // FG_LOG( FG_INPUT, FG_DEBUG, "Fog density = " << fog_density );
-       // FG_LOG( FG_INPUT, FG_INFO, 
+       // SG_LOG( SG_INPUT, SG_DEBUG, "Fog density = " << fog_density );
+       // SG_LOG( SG_INPUT, SG_INFO, 
        //         "Fog exp2 density = " << fog_exp2_density );
     }
 };