The listener velocity is specified in world coordinates, too

This commit is contained in:
Chris Robinson
2012-03-08 18:27:05 -08:00
parent e190fc9416
commit 6e70ae9958
+2
View File
@@ -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
{