diff --git a/public/mathlib/math_base.h b/public/mathlib/math_base.h index d4356d50..75a9460e 100644 --- a/public/mathlib/math_base.h +++ b/public/mathlib/math_base.h @@ -602,7 +602,7 @@ template FORCEINLINE_TEMPLATE T AVG(T a, T b) // // Returns a clamped value in the range [min, max]. // -#define clamp(val, min, max) (((val) > (max)) ? (max) : (((val) < (min)) ? (min) : (val))) +#define V_clamp(val, min, max) (((val) > (max)) ? (max) : (((val) < (min)) ? (min) : (val))) inline float Sign( float x ) {