]> 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 8c98812dccd4c31465c533f85486d1c497d75a82..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 );