]> git.mxchange.org Git - simgear.git/blobdiff - Astro/sun.cxx
Use new C++ events class.
[simgear.git] / Astro / sun.cxx
index 7941596d6e62f60ea76276cd97b8be4136b10282..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,10 +192,19 @@ void fgSunRender( void ) {
 
 
 /* $Log$
-/* 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.
+/* 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.
+ *
  * Revision 1.1  1998/04/22 13:21:36  curt
  * C++ - ifing the code a bit.
  *
@@ -221,7 +230,7 @@ void fgSunRender( void ) {
  * To version 0.29
  *
  * Revision 1.4  1998/01/27 00:47:50  curt
- * Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
+ * Incorporated Paul Bleisch's <pbleisch@acm.org> new debug message
  * system and commandline/config file processing code.
  *
  * Revision 1.3  1998/01/19 19:27:00  curt