aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-24 00:04:34 -0700
committerChris Robinson <[email protected]>2011-09-24 00:04:34 -0700
commitd9544d006ba792b32e2fa9abaec62730eca13429 (patch)
tree6fec584c94110ab6c6b77dd4a78dfa48b463a679 /Alc
parent6a2b2a0aed9a7ab07142185ba80da58e96f13df6 (diff)
Use aluAtan instead of atan
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alcReverb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c
index 49bb26ce..80439669 100644
--- a/Alc/alcReverb.c
+++ b/Alc/alcReverb.c
@@ -794,7 +794,7 @@ static __inline ALvoid CalcMatrixCoeffs(ALfloat diffusion, ALfloat *x, ALfloat *
// The matrix is of order 4, so n is sqrt (4 - 1).
n = aluSqrt(3.0f);
- t = diffusion * atan(n);
+ t = diffusion * aluAtan(n);
// Calculate the first mixing matrix coefficient.
*x = aluCos(t);