From 413d55aaa547b3f602781ba235a629f3040d3e8d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 24 Mar 2018 07:02:27 -0700 Subject: Fix a couple comments about coordinate handedness --- Alc/effects/reverb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc/effects/reverb.c') 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) -- cgit v1.2.3