clamp can go
This commit is contained in:
parent
93591c1b6b
commit
8da465a4fc
1 changed files with 0 additions and 5 deletions
|
@ -56,11 +56,6 @@ static inline T min(T a, T b, T c)
|
|||
{
|
||||
return min(min(a, b), c);
|
||||
}
|
||||
template<class T, class U>
|
||||
static inline T clamp(T a, U b, U c)
|
||||
{
|
||||
return max(T(b), min(a, T(c)));
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define bitscan(mask) (__builtin_ffs(mask)-1)
|
||||
|
|
Loading…
Reference in a new issue