From d9544d006ba792b32e2fa9abaec62730eca13429 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 24 Sep 2011 00:04:34 -0700 Subject: [PATCH] Use aluAtan instead of atan --- Alc/alcReverb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);