The listener velocity is specified in world coordinates, too
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user