]> git.mxchange.org Git - simgear.git/blobdiff - Astro/sun.cxx
Use new C++ events class.
[simgear.git] / Astro / sun.cxx
index dc2fad3cdabdddddee19136f1c5e51224fca9e65..f802b768b338cd88c29572c7208ce68d2e9cb82a 100644 (file)
@@ -76,7 +76,7 @@ void fgCalcSunPos(struct OrbElements params)
 
 
 struct CelestialCoord fgCalculateSun (struct OrbElements params, 
-                                     struct fgTIME t)
+                                     fgTIME t)
 {
     struct CelestialCoord result;
     double xe, ye, ze, ecl, actTime;
@@ -104,9 +104,9 @@ struct CelestialCoord fgCalculateSun (struct OrbElements params,
 
 /* Initialize the Sun */
 void fgSunInit( void ) {
-    struct fgLIGHT *l;
-    struct fgTIME *t;
-    struct fgVIEW *v;  
+    fgLIGHT *l;
+    fgTIME *t;
+    fgVIEW *v;  
     float xSun, ySun, zSun;
 
     /* GLfloat color[4] = { 1.00, 1.00, 1.00, 1.00 }; */
@@ -192,9 +192,15 @@ void fgSunRender( void ) {
 
 
 /* $Log$
-/* Revision 1.3  1998/04/25 22:06:26  curt
-/* Edited cvs log messages in source files ... bad bad bad!
+/* Revision 1.5  1998/04/28 01:19:04  curt
+/* Type-ified fgTIME and fgVIEW
 /*
+ * Revision 1.4  1998/04/26 05:10:02  curt
+ * "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
+ *
+ * Revision 1.3  1998/04/25 22:06:26  curt
+ * Edited cvs log messages in source files ... bad bad bad!
+ *
  * Revision 1.2  1998/04/24 00:45:04  curt
  * Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
  * Fixed a bug when generating sky colors.