diff options
author | Chris Robinson <[email protected]> | 2011-09-23 22:44:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-23 22:44:34 -0700 |
commit | da62f5052890054daa11603eb9bd2522cae8a3df (patch) | |
tree | b1cae1c1d141a05974aef7d7de971fc619e91b20 /Alc | |
parent | e84e38cc193be0678f98cf8b5deba1471c77e225 (diff) |
Check for asinf and use it
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -716,7 +716,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) // Calculate elevation and azimuth only when the source is not at // the listener. This prevents +0 and -0 Z from producing // inconsistent panning. - ev = asin(Position[1]); + ev = aluAsin(Position[1]); az = atan2(Position[0], -Position[2]*ZScale); } |