From e39117467c1d91afcdc375690b9d49a05c73e033 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 5 Nov 2014 03:06:32 -0800 Subject: Fix panning of multi-channel sources --- Alc/panning.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/panning.c') diff --git a/Alc/panning.c b/Alc/panning.c index caaefd50..02d1dbe0 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -35,7 +35,7 @@ void ComputeAngleGains(const ALCdevice *device, ALfloat angle, ALfloat elevation, ALfloat ingain, ALfloat gains[MaxChannels]) { ALfloat dir[3] = { - -sinf(angle) * cosf(elevation), + sinf(angle) * cosf(elevation), sinf(elevation), -cosf(angle) * cosf(elevation) }; -- cgit v1.2.3