From 06f0b6030a4d372f3e3253e67f01d5763ce64e3c Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 29 Oct 2009 14:58:02 +0000 Subject: [PATCH] multiply quats in the right order --- simgear/sound/sample_openal.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/sound/sample_openal.cxx b/simgear/sound/sample_openal.cxx index 75d663a5..561f06ed 100644 --- a/simgear/sound/sample_openal.cxx +++ b/simgear/sound/sample_openal.cxx @@ -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. -- 2.39.5