1
0
Fork 0

Cosmetic changes ...

This commit is contained in:
curt 2003-06-09 20:24:50 +00:00
parent 414b4ada11
commit f4403fdea8

View file

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