]> git.mxchange.org Git - flightgear.git/blobdiff - src/Time/sunsolver.hxx
toggle fullscreen: also adapt GUI plane when resizing
[flightgear.git] / src / Time / sunsolver.hxx
index 9c984b71f2a8b25d00ab1ef322c58c39e06852c1..16d312231e4d4e0f3949665a328dfa84378c6e5e 100644 (file)
@@ -36,6 +36,8 @@
 
 #include <ctime>
 
+class SGGeod;
+
 /**
  * Given the current unix time in seconds, calculate seconds to the
  * specified sun angle (relative to straight up.)  Also specify if we
@@ -45,8 +47,7 @@
  * 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 );
 
@@ -57,4 +58,5 @@ time_t fgTimeSecondsUntilSunAngle( time_t cur_time,
  */
 void fgSunPositionGST(double gst, double *lon, double *lat);
 
+
 #endif /* _SUNSOLVER_HXX */