diff options
author | Chris Robinson <[email protected]> | 2015-07-05 08:47:56 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-07-05 08:54:29 -0700 |
commit | f58d985789f86ff11d1e2d1dda53801f447e2736 (patch) | |
tree | 2426e929cfbfced7262ae049a40cbb31cbc4965f /OpenAL32/Include | |
parent | 4efe0d869651567aa26a17687d050a0834100f49 (diff) |
Change source radius behavior
For sources with a non-0 radius:
When distance <= radius, factor = distance/radius*0.5
When distance > radius, factor = 1 - asinf(radius/distance)/PI
Also, avoid using Position after calculating the localized direction and
distance.
Diffstat (limited to 'OpenAL32/Include')
0 files changed, 0 insertions, 0 deletions