From 6e70ae9958fe8e0f2abfa8d0acc198f0ef053af6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 8 Mar 2012 18:27:05 -0800 Subject: [PATCH] The listener velocity is specified in world coordinates, too --- Alc/ALu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Alc/ALu.c b/Alc/ALu.c index 32f14022..29950d77 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -463,6 +463,8 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) aluMatrixVector(Position, 1.0f, Matrix); aluMatrixVector(Direction, 0.0f, Matrix); aluMatrixVector(Velocity, 0.0f, Matrix); + /* Transform listener vectors into listener space */ + aluMatrixVector(ListenerVel, 0.0f, Matrix); } else { -- 2.11.4.GIT