1
0
Fork 0

Use the proper absolute position for the listener

This commit is contained in:
ehofman 2009-11-03 09:59:05 +00:00 committed by Tim Moore
parent 3b5792e7cc
commit 342744fddb

View file

@ -297,7 +297,7 @@ FGViewMgr::update (double dt)
// update audio listener values // update audio listener values
// set the viewer posotion in Cartesian coordinates in meters // set the viewer posotion in Cartesian coordinates in meters
smgr->set_position_geod( loop_view->getPosition() ); smgr->set_position( abs_viewer_position );
smgr->set_orientation( loop_view->getViewOrientation() ); smgr->set_orientation( loop_view->getViewOrientation() );
// get the model velocity // get the model velocity