]> git.mxchange.org Git - flightgear.git/commitdiff
Cosmetic changes ...
authorcurt <curt>
Mon, 9 Jun 2003 20:24:50 +0000 (20:24 +0000)
committercurt <curt>
Mon, 9 Jun 2003 20:24:50 +0000 (20:24 +0000)
src/Main/main.cxx

index c9fbae54631d9d0d60086506cb1a333e46da9dbe..45707e8e2ca7307ce4a323e544cc7dd4385e8586 100644 (file)
@@ -620,22 +620,22 @@ void fgRenderFrame() {
             */
 
             thesky->reposition( current__view->get_view_pos(),
-                            current__view->get_zero_elev(),
-                            current__view->get_world_up(),
-                            current__view->getLongitude_deg()
-                               * SGD_DEGREES_TO_RADIANS,
-                            current__view->getLatitude_deg()
-                               * SGD_DEGREES_TO_RADIANS,
-                            current__view->getAltitudeASL_ft()
-                               * SG_FEET_TO_METER,
-                            cur_light_params.sun_rotation,
-                            globals->get_time_params()->getGst(),
-                            globals->get_ephem()->getSunRightAscension(),
-                            globals->get_ephem()->getSunDeclination(),
-                            50000.0,
-                            globals->get_ephem()->getMoonRightAscension(),
-                            globals->get_ephem()->getMoonDeclination(),
-                            50000.0 );
+                                current__view->get_zero_elev(),
+                                current__view->get_world_up(),
+                                current__view->getLongitude_deg()
+                                  * SGD_DEGREES_TO_RADIANS,
+                                current__view->getLatitude_deg()
+                                  * SGD_DEGREES_TO_RADIANS,
+                                current__view->getAltitudeASL_ft()
+                                  * SG_FEET_TO_METER,
+                                cur_light_params.sun_rotation,
+                                globals->get_time_params()->getGst(),
+                                globals->get_ephem()->getSunRightAscension(),
+                                globals->get_ephem()->getSunDeclination(),
+                                50000.0,
+                                globals->get_ephem()->getMoonRightAscension(),
+                                globals->get_ephem()->getMoonDeclination(),
+                                50000.0 );
         }
 
         glEnable( GL_DEPTH_TEST );
@@ -1757,10 +1757,10 @@ static bool fgMainInit( int argc, char **argv ) {
     thesky->texture_path( sky_tex_path.str() );
 
     thesky->build( 550.0, 550.0,
-               globals->get_ephem()->getNumPlanets(), 
-               globals->get_ephem()->getPlanets(), 60000.0,
-               globals->get_ephem()->getNumStars(),
-               globals->get_ephem()->getStars(), 60000.0 );
+                   globals->get_ephem()->getNumPlanets(), 
+                   globals->get_ephem()->getPlanets(), 60000.0,
+                   globals->get_ephem()->getNumStars(),
+                   globals->get_ephem()->getStars(), 60000.0 );
 
     // Initialize MagVar model
     SGMagVar *magvar = new SGMagVar();