Use aluAtan instead of atan

This commit is contained in:
Chris Robinson 2011-09-24 00:04:34 -07:00
parent 6a2b2a0aed
commit d9544d006b

View File

@ -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);