aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/reverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-03-24 07:02:27 -0700
committerChris Robinson <[email protected]>2018-03-24 07:02:27 -0700
commit413d55aaa547b3f602781ba235a629f3040d3e8d (patch)
tree0d30b50b8b7d8b0a8f854c47107ecd9e667fa53b /Alc/effects/reverb.c
parent6d8062a2a78fdcb2f430874f6fbe2ec6e92bd1a9 (diff)
Fix a couple comments about coordinate handedness
Diffstat (limited to 'Alc/effects/reverb.c')
-rw-r--r--Alc/effects/reverb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c
index 3c5e5e96..0d486e63 100644
--- a/Alc/effects/reverb.c
+++ b/Alc/effects/reverb.c
@@ -1073,9 +1073,9 @@ static aluMatrixf GetTransformFromVector(const ALfloat *vec)
/* Normalize the panning vector according to the N3D scale, which has an
* extra sqrt(3) term on the directional components. Converting from OpenAL
* to B-Format also requires negating X (ACN 1) and Z (ACN 3). Note however
- * that the reverb panning vectors use right-handed coordinates, unlike the
- * rest of OpenAL which use left-handed. This is fixed by negating Z, which
- * cancels out with the B-Format Z negation.
+ * that the reverb panning vectors use left-handed coordinates, unlike the
+ * rest of OpenAL which use right-handed. This is fixed by negating Z,
+ * which cancels out with the B-Format Z negation.
*/
mag = sqrtf(vec[0]*vec[0] + vec[1]*vec[1] + vec[2]*vec[2]);
if(mag > 1.0f)