Add a method to calculate gains given a sound point and its half-width, and use it...
commit611bd0b2d3b40f306f120de5bb5d7edeccb0d32e
authorChris Robinson <chris.kcat@gmail.com>
Sat, 28 Apr 2012 14:28:36 +0000 (28 07:28 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sat, 28 Apr 2012 15:21:53 +0000 (28 08:21 -0700)
tree554666ad8d85349a94784c73dd4723918a939da1
parent267d38cf2057bb78f5d03c7f923573d1da2c84be
Add a method to calculate gains given a sound point and its half-width, and use it for reverb

The half-width ranges from 0 to pi, and essentially specifies the coverage area
around the listener. At 0, it's an infinitely small point sound and behaves
like a usual panning sound. At pi/2 it covers half the area, and at pi it
covers the whole area.
Alc/alcReverb.c
Alc/panning.c
OpenAL32/Include/alu.h