]> git.mxchange.org Git - flightgear.git/commitdiff
Why this didn't ring any alarm bells during my previous test compile is beyond me...
authorehofman <ehofman>
Tue, 26 Jul 2005 20:12:03 +0000 (20:12 +0000)
committerehofman <ehofman>
Tue, 26 Jul 2005 20:12:03 +0000 (20:12 +0000)
src/Time/light.cxx
src/Time/sunpos.hxx

index 117e0eb73c08208f7ae4154ee709b34f866908f5..537b7679ec872693495879254acc95a012a63a8e 100644 (file)
@@ -127,7 +127,6 @@ void FGLight::reinit () {
     init();
 
     fgUpdateSunPos();
-    fgUpdateMoonPos();
 
     update_sky_color();
     update_adj_fog_color();
@@ -151,7 +150,6 @@ void FGLight::update( double dt ) {
     if (_dt_total >= 0.5) {
         _dt_total -= 0.5;
         fgUpdateSunPos();
-        fgUpdateMoonPos();
     }
 
     update_adj_fog_color();
index 006bd98ea57f3cdce1ba7e0749fb18fc89a765dc..0fb0df7470b69a08ca0b10c9eb9f4bf937da2e89 100644 (file)
@@ -22,9 +22,6 @@
 /* update the cur_time_params structure with the current sun position */
 void fgUpdateSunPos( void );
 
-/* update the cur_time_params structure with the current moon position */
-void fgUpdateMoonPos( void );
-
 void fgSunPosition(time_t ssue, double *lon, double *lat);
 
 /* given a particular time expressed in side real time at prime