From 08dfbcfd5c61bc07db428e001a7a9e880d618335 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 27 Nov 2013 00:30:13 -0800 Subject: Add min/max/clamp methods for doubles --- Alc/ALu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Alc/ALu.c') 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); -- cgit v1.2.3