diff options
author | Chris Robinson <[email protected]> | 2012-03-08 18:27:05 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-03-08 18:27:05 -0800 |
commit | 6e70ae9958fe8e0f2abfa8d0acc198f0ef053af6 (patch) | |
tree | 8ca5428a2dacb03727f36d1351185ea43958f43e /Alc/ALu.c | |
parent | e190fc9416a14bbe35abfde94f38ff8ca98dfa99 (diff) |
The listener velocity is specified in world coordinates, too
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 { |