multiply quats in the right order

This commit is contained in:
ehofman 2009-10-29 14:58:02 +00:00 committed by Tim Moore
parent 191ee3a0ed
commit 06f0b6030a

View File

@ -198,7 +198,7 @@ void SGSoundSample::update_absolute_position() {
// Compute the sounds orientation and position
// wrt the earth centered frame - that is global coorinates
SGQuatd sc2body = _orientation*hlOr;
SGQuatd sc2body = hlOr*_orientation;
// This is rotates the x-forward, y-right, z-down coordinate system where
// simulation runs into the OpenGL camera system with x-right, y-up, z-back.