]> git.mxchange.org Git - simgear.git/blobdiff - Astro/sun.h
Incorporated Durk's Astro/ tweaks. Includes unifying the sun position
[simgear.git] / Astro / sun.h
index 9683462cc0bd7c8cd9c742cbfd332125a2fbcd29..0132f2a1e88921221af661f55fa7df8492bcca44 100644 (file)
  **************************************************************************/
 
 
-#ifndef SUN_H
-#define SUN_H
+#ifndef _SUN_H
+#define _SUN_H
 
 
-struct SunPos fgCalcSunPos(struct OrbElements sunParams);
+extern struct fgSUNPOS solarPosition;
+
+
+void fgCalcSunPos (struct OrbElements sunParams);
 extern struct OrbElements pltOrbElements[9];
 
 /* Initialize the Sun */
@@ -37,14 +40,22 @@ void fgSunInit( void );
 void fgSunRender( void );
 
 
-#endif /* SUN_H */
+#endif /* _SUN_H */
 
 
 /* $Log$
-/* Revision 1.2  1998/01/19 18:40:19  curt
-/* Tons of little changes to clean up the code and to remove fatal errors
-/* when building with the c++ compiler.
+/* Revision 1.4  1998/02/23 19:07:57  curt
+/* Incorporated Durk's Astro/ tweaks.  Includes unifying the sun position
+/* calculation code between sun display, and other FG sections that use this
+/* for things like lighting.
 /*
+ * Revision 1.3  1998/01/22 02:59:29  curt
+ * Changed #ifdef FILE_H to #ifdef _FILE_H
+ *
+ * Revision 1.2  1998/01/19 18:40:19  curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
  * Revision 1.1  1998/01/07 03:16:21  curt
  * Moved from .../Src/Scenery/ to .../Src/Astro/
  *