diff options
author | Chris Robinson <[email protected]> | 2011-07-03 19:39:19 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-03 19:39:19 -0700 |
commit | 202f57552ad353912c54522605531e9737c790b0 (patch) | |
tree | a49bd178e9f56c3543f94f406d9352d0dae20c2d /OpenAL32/Include/alu.h | |
parent | 5ba864b6da73ac27c560f5d0242b36d6fdae099e (diff) |
Use a proper enum for the distance model
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r-- | OpenAL32/Include/alu.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 9ac3b234..dfe600cb 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -94,6 +94,16 @@ enum Channel { MAXCHANNELS }; +enum DistanceModel { + InverseDistanceClamped = AL_INVERSE_DISTANCE_CLAMPED, + LinearDistanceClamped = AL_LINEAR_DISTANCE_CLAMPED, + ExponentDistanceClamped = AL_EXPONENT_DISTANCE_CLAMPED, + InverseDistance = AL_INVERSE_DISTANCE, + LinearDistance = AL_LINEAR_DISTANCE, + ExponentDistance = AL_EXPONENT_DISTANCE, + DisableDistance = AL_NONE +}; + #define BUFFERSIZE 4096 #define FRACTIONBITS (14) |