diff options
author | Chris Robinson <[email protected]> | 2011-08-16 18:40:21 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-16 18:40:21 -0700 |
commit | 9f5bf5f9307e86c28ff19a61d422c7b2fe389fdc (patch) | |
tree | af769fafe6bdb9a8f470862a1b8b4ab01cbbf4ea /OpenAL32/Include | |
parent | 04dad28228a694e681d722826615245466a3aa16 (diff) |
Rename minF/maxF/clampF to minf/maxf/clampf for consistency
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 45eb09c5..bddc2cf8 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -127,12 +127,12 @@ enum DistanceModel { #endif -static __inline ALfloat minF(ALfloat a, ALfloat b) +static __inline ALfloat minf(ALfloat a, ALfloat b) { return ((a > b) ? b : a); } -static __inline ALfloat maxF(ALfloat a, ALfloat b) +static __inline ALfloat maxf(ALfloat a, ALfloat b) { return ((a > b) ? a : b); } -static __inline ALfloat clampF(ALfloat val, ALfloat mn, ALfloat mx) -{ return minF(mx, maxF(mn, val)); } +static __inline ALfloat clampf(ALfloat val, ALfloat min, ALfloat max) +{ return minf(max, maxf(min, val)); } static __inline ALuint minu(ALuint a, ALuint b) { return ((a > b) ? b : a); } |