#include <simgear/compiler.h>
-#ifdef SG_HAVE_STD_INCLUDES
-# include <ctime>
-#else
-# include <time.h>
-#endif
+#include <ctime>
+
+class SGGeod;
/**
* Given the current unix time in seconds, calculate seconds to the
* when the sun angle is 90 and ascending.
*/
time_t fgTimeSecondsUntilSunAngle( time_t cur_time,
- double lon_rad,
- double lat_rad,
+ const SGGeod& loc,
double target_angle_deg,
bool ascending );
*/
void fgSunPositionGST(double gst, double *lon, double *lat);
+
#endif /* _SUNSOLVER_HXX */