]> git.mxchange.org Git - flightgear.git/blobdiff - Time/sunpos.h
Merged in make system changes from Bob Kuehne <rpk@sgi.com>
[flightgear.git] / Time / sunpos.h
index d153042de6f3070821c582ab5f6bd9e89dd775b2..81dd125a82b3cee8ab19e4ec9a42b3a9f6b4336f 100644 (file)
 #define SUNPOS_H
 
 
-#include <sys/time.h>
+#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);