]> git.mxchange.org Git - flightgear.git/blobdiff - Time/sunpos.h
Tons of little changes to clean up the code and to remove fatal errors
[flightgear.git] / Time / sunpos.h
index ded7a040c5c39a0b971154c65887ab0ad52da948..756b7fd240e2371d3e90fa28ce6e77cc70fe2eaf 100644 (file)
 
 #include <time.h>
 
+#include "../Include/types.h"
 
-/* given a particular time (expressed in seconds since the unix
- * epoch), compute position on the earth (lat, lon) such that sun is
- * directly overhead.  (lat, lon are reported in radians */
+/* update the cur_time_params structure with the current sun position */
+void fgUpdateSunPos( void );
 
 void fgSunPosition(time_t ssue, double *lon, double *lat);