diff --git a/HandmadeMath.h b/HandmadeMath.h index c539339..a33e0ef 100644 --- a/HandmadeMath.h +++ b/HandmadeMath.h @@ -595,7 +595,8 @@ HMM_INLINE float HMM_PREFIX(Clamp)(float Min, float Value, float Max) { Result = Min; } - else if(Result > Max) + + if(Result > Max) { Result = Max; }