11 # error This library requires C++
14 #include <simgear/compiler.h>
16 #ifdef SG_HAVE_STD_INCLUDES
22 /* update the cur_time_params structure with the current sun position */
23 void fgUpdateSunPos( void );
25 /* update the cur_time_params structure with the current moon position */
26 void fgUpdateMoonPos( void );
28 void fgSunPosition(time_t ssue, double *lon, double *lat);
30 /* given a particular time expressed in side real time at prime
31 * meridian (GST), compute position on the earth (lat, lon) such that
32 * sun is directly overhead. (lat, lon are reported in radians */
33 void fgSunPositionGST(double gst, double *lon, double *lat);
36 #endif /* _SUNPOS_HXX */