diff options
author | Chris Robinson <[email protected]> | 2014-11-05 03:06:32 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-11-05 03:06:32 -0800 |
commit | e39117467c1d91afcdc375690b9d49a05c73e033 (patch) | |
tree | 239ab1c79ce68b66edbfd7ca75dccd040e52d81d /Alc | |
parent | c834c3fae59327a69914b22e8b7b357282963d3e (diff) |
Fix panning of multi-channel sources
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/panning.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) }; |