]> git.mxchange.org Git - flightgear.git/blobdiff - Time/fg_time.h
Shufflin' stuff.
[flightgear.git] / Time / fg_time.h
index 9518d913ab1421fc7f8e67dcea0572326c01b7b2..6f028b2eb60f62ab6213beca48ab1142959a7df9 100644 (file)
 #define FG_TIME_H
 
 
+#ifdef WIN32
+#  include <windows.h>
+#endif
+
+#include <GL/glut.h>
+
 #include "../types.h"
 
 
 struct fgTIME {
     /* the point on the earth's surface above which the sun is directly 
      * overhead */
-    struct fgCartesianPoint fg_sunpos;  /* in cartesian coordiantes */
     double sun_lon, sun_gc_lat;         /* in geocentric coordinates */
+    struct fgCartesianPoint fg_sunpos;  /* in cartesian coordiantes */
+    GLfloat sun_vec[4];                 /* in view coordinates */
+    double sun_angle;                   /* the angle between the sun and the 
+                                          local horizontal */
 };
 
 extern struct fgTIME cur_time_params;
@@ -46,9 +55,12 @@ extern struct fgTIME cur_time_params;
 
 
 /* $Log$
-/* Revision 1.2  1997/08/27 03:30:36  curt
-/* Changed naming scheme of basic shared structures.
+/* Revision 1.3  1997/09/04 02:17:39  curt
+/* Shufflin' stuff.
 /*
+ * Revision 1.2  1997/08/27 03:30:36  curt
+ * Changed naming scheme of basic shared structures.
+ *
  * Revision 1.1  1997/08/13 21:56:00  curt
  * Initial revision.
  *