]> git.mxchange.org Git - flightgear.git/blobdiff - Time/fg_time.h
Shufflin' stuff.
[flightgear.git] / Time / fg_time.h
index 8b8d28f8118f0c7a7ed2af03839459eb41dcff62..6f028b2eb60f62ab6213beca48ab1142959a7df9 100644 (file)
 #define FG_TIME_H
 
 
+#ifdef WIN32
+#  include <windows.h>
+#endif
+
+#include <GL/glut.h>
+
 #include "../types.h"
 
 
 /* Define a structure containing global time parameters */
-struct time_params {
+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 time_params cur_time_params;
+extern struct fgTIME cur_time_params;
 
 
 #endif /* FG_TIME_H */
 
 
 /* $Log$
-/* Revision 1.1  1997/08/13 21:56:00  curt
-/* Initial revision.
+/* 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.
+ *
  */