From 267d38cf2057bb78f5d03c7f923573d1da2c84be Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 28 Apr 2012 03:58:58 -0700 Subject: Flip the parameters to aluCart2LUTpos, so it behaves a bit more like atan2 --- OpenAL32/Include/alu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 5345c286..9d1eb81b 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -296,7 +296,7 @@ static __inline void aluNormalize(ALfloat *inVector) ALvoid aluInitPanning(ALCdevice *Device); -ALint aluCart2LUTpos(ALfloat re, ALfloat im); +ALint aluCart2LUTpos(ALfloat im, ALfloat re); ALvoid CalcSourceParams(struct ALsource *ALSource, const ALCcontext *ALContext); ALvoid CalcNonAttnSourceParams(struct ALsource *ALSource, const ALCcontext *ALContext); -- cgit v1.2.3