1
0
Fork 0

There is something wierd about moving the cloud base around, let's just leave

it rooted in place until we sort out the positioning.
This commit is contained in:
curt 2002-09-22 23:07:01 +00:00
parent 3b3102d7c8
commit e23b22fabe

View file

@ -501,11 +501,11 @@ void fgRenderFrame() {
glEnable(GL_BLEND);
glBlendFunc( GL_ONE, GL_ONE_MINUS_SRC_ALPHA ) ;
posit = globals->get_scenery()->get_center();
// if ( _bcloud_orig ) {
// sgClouds3d->Set_Cloud_Orig( _posit );
// _bcloud_orig = false;
// }
sgClouds3d->Set_Cloud_Orig(&(globals->get_scenery()->get_center()));
if ( _bcloud_orig ) {
sgClouds3d->Set_Cloud_Orig( _posit );
_bcloud_orig = false;
}
// sgClouds3d->Set_Cloud_Orig(&(globals->get_scenery()->get_center()));
sgClouds3d->Update( current__view->get_absolute_view_pos() );
}