diff options
author | Chris Robinson <[email protected]> | 2011-09-23 22:33:37 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-23 22:33:37 -0700 |
commit | 9266a3727617c1da198183bc0919ac476298c7a8 (patch) | |
tree | 8c8c3f758caf5da4cea4ba346f127e4bdc3e73ac /Alc/ALu.c | |
parent | ff8ee688526d4ad994eb72589fe0a294d14bd754 (diff) |
Move ConeScale and ZScale to ALu.c and alu.h, and make them floats
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -37,6 +37,13 @@ #include "bs2b.h" +/* Cone scalar */ +ALfloat ConeScale = 0.5f; + +/* Localized Z scalar for mono sources */ +ALfloat ZScale = 1.0f; + + static __inline ALvoid aluCrossproduct(const ALfloat *inVector1, const ALfloat *inVector2, ALfloat *outVector) { outVector[0] = inVector1[1]*inVector2[2] - inVector1[2]*inVector2[1]; |