From ef099d3caddb22cbdc9f441ac350e891697c6e61 Mon Sep 17 00:00:00 2001 From: ehofman Date: Tue, 26 Jul 2005 20:12:03 +0000 Subject: [PATCH] Why this didn't ring any alarm bells during my previous test compile is beyond me, but this should get FlightGear in a compilable state again. --- src/Time/light.cxx | 2 -- src/Time/sunpos.hxx | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/Time/light.cxx b/src/Time/light.cxx index 117e0eb73..537b7679e 100644 --- a/src/Time/light.cxx +++ b/src/Time/light.cxx @@ -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(); diff --git a/src/Time/sunpos.hxx b/src/Time/sunpos.hxx index 006bd98ea..0fb0df747 100644 --- a/src/Time/sunpos.hxx +++ b/src/Time/sunpos.hxx @@ -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 -- 2.39.5