]> 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 13bbd184514ef1bb9b40e94041c12997608e68bc..b2919f044cdfb3eb1e82f573b839fe5ea72ea664 100644 (file)
@@ -46,7 +46,7 @@
 
 #include <simgear/compiler.h>
 
-#ifdef FG_HAVE_STD_INCLUDES
+#ifdef SG_HAVE_STD_INCLUDES
 #  include <ctime>
 #else
 #  include <time.h>
@@ -60,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 */