From cf56b0733b86019631c4b877ece6bcceb3b2b50a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 24 Sep 2011 12:17:39 -0700 Subject: Look for and use atan2f, log10f, and floorf --- Alc/ALu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/ALu.c') diff --git a/Alc/ALu.c b/Alc/ALu.c index 0697e943..c02b0fdc 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -717,7 +717,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) // the listener. This prevents +0 and -0 Z from producing // inconsistent panning. ev = aluAsin(Position[1]); - az = atan2(Position[0], -Position[2]*ZScale); + az = aluAtan2(Position[0], -Position[2]*ZScale); } // Check to see if the HRIR is already moving. -- cgit v1.2.3