aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-08-24 00:19:47 -0700
committerChris Robinson <[email protected]>2015-08-24 00:19:47 -0700
commitc292b9e4ffb0ce6b9b2043c2d75f25b7cad2f06d (patch)
tree74d10f2ca2e7ce7b061dabcc8ebd451829d9a47d /Alc/ALu.c
parent7ffb9b3056ab280d5d9408fd023f3cfb370ed103 (diff)
Revert "Fix B-Format rotation"
This reverts commit 7ffb9b3056ab280d5d9408fd023f3cfb370ed103. It was behaving as appropriate before (orienting left did pan it left for the listener), I was apparently just misinterpreting the matrix.
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 096940af..4bd7cdfb 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -510,9 +510,9 @@ ALvoid CalcNonAttnSourceParams(ALvoice *voice, const ALsource *ALSource, const A
aluMatrixSet(&matrix,
1.0f, 0.0f, 0.0f, 0.0f,
- 0.0f, -N[2], U[2], -V[2],
- 0.0f, -N[0], U[0], -V[0],
- 0.0f, N[1], -U[1], V[1]
+ 0.0f, -N[2], -N[0], N[1],
+ 0.0f, U[2], U[0], -U[1],
+ 0.0f, -V[2], -V[0], V[1]
);
for(c = 0;c < num_channels;c++)