summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-11-27 00:30:13 -0800
committerChris Robinson <[email protected]>2013-11-27 00:30:13 -0800
commit08dfbcfd5c61bc07db428e001a7a9e880d618335 (patch)
tree073a07eec91553fcfb586143e5df49171133918a /Alc
parentd33912014596b76e95045891f3d4942cb95cf519 (diff)
Add min/max/clamp methods for doubles
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index ffa299b2..e7a3c035 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -52,6 +52,10 @@ extern inline ALfloat minf(ALfloat a, ALfloat b);
extern inline ALfloat maxf(ALfloat a, ALfloat b);
extern inline ALfloat clampf(ALfloat val, ALfloat min, ALfloat max);
+extern inline ALdouble mind(ALdouble a, ALdouble b);
+extern inline ALdouble maxd(ALdouble a, ALdouble b);
+extern inline ALdouble clampd(ALdouble val, ALdouble min, ALdouble max);
+
extern inline ALuint minu(ALuint a, ALuint b);
extern inline ALuint maxu(ALuint a, ALuint b);
extern inline ALuint clampu(ALuint val, ALuint min, ALuint max);