]> git.mxchange.org Git - flightgear.git/blobdiff - src/Time/sunpos.hxx
plib-1.8.0 no longer defines the cchar type (which we used because we were
[flightgear.git] / src / Time / sunpos.hxx
index c1a57b83bebfe3ebb4259e19ecbd1f9f07f1386e..b2919f044cdfb3eb1e82f573b839fe5ea72ea664 100644 (file)
@@ -44,8 +44,9 @@
 # error This library requires C++
 #endif                                   
 
-#include "Include/compiler.h"
-#ifdef FG_HAVE_STD_INCLUDES
+#include <simgear/compiler.h>
+
+#ifdef SG_HAVE_STD_INCLUDES
 #  include <ctime>
 #else
 #  include <time.h>
@@ -59,5 +60,10 @@ void fgUpdateMoonPos( void );
 
 void fgSunPosition(time_t ssue, double *lon, double *lat);
 
+/* given a particular time expressed in side real time at prime
+ * meridian (GST), compute position on the earth (lat, lon) such that
+ * sun is directly overhead.  (lat, lon are reported in radians */
+void fgSunPositionGST(double gst, double *lon, double *lat);
+
 
-#endif /* _SUNPOS_H */
+#endif /* _SUNPOS_HXX */