Fix panning of multi-channel sources
This commit is contained in:
parent
c834c3fae5
commit
e39117467c
@ -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)
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user