]> git.mxchange.org Git - flightgear.git/blobdiff - Scenery/astro.c
Misc. tweaks.
[flightgear.git] / Scenery / astro.c
index f742a1b51fe9677b0da5dcc01d272d4d68920a97..6bd4e0d2cc92310faab0cb68187bd153ea9167ff 100644 (file)
@@ -90,7 +90,7 @@ void fgAstroRender() {
     glDisable( GL_FOG );
 
     /* set the sun position */
-    /* glLightfv( GL_LIGHT0, GL_POSITION, l->sun_vec_inv );*/
+    glLightfv( GL_LIGHT0, GL_POSITION, l->sun_vec_inv );
 
     glPushMatrix();
 
@@ -104,15 +104,15 @@ void fgAstroRender() {
 #endif
     glRotatef( angle, 0.0, 0.0, -1.0 );
 
+    /* render the moon */
+    fgMoonRender();
+
     /* render the stars */
     fgStarsRender();
 
     /* render the sun */
     fgSunRender();
 
-    /* render the moon */
-    fgMoonRender();
-
     glPopMatrix();
 
     /* reenable fog effects */
@@ -121,9 +121,12 @@ void fgAstroRender() {
 
 
 /* $Log$
-/* Revision 1.6  1997/12/12 21:41:27  curt
-/* More light/material property tweaking ... still a ways off.
+/* Revision 1.7  1997/12/15 20:59:09  curt
+/* Misc. tweaks.
 /*
+ * Revision 1.6  1997/12/12 21:41:27  curt
+ * More light/material property tweaking ... still a ways off.
+ *
  * Revision 1.5  1997/12/12 19:52:54  curt
  * Working on lightling and material properties.
  *