diff options
Diffstat (limited to 'src/math/functions.h')
-rw-r--r-- | src/math/functions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/functions.h b/src/math/functions.h index ed013ab..c301969 100644 --- a/src/math/functions.h +++ b/src/math/functions.h @@ -49,7 +49,7 @@ float degrees180f(float angle); float degrees360f(float angle); /// clamp a float to a specified range -inline void clamp(float &value, const float min=0.0f, const float max=1.0f) +inline void clamp(float &value, const float min = 0.0f, const float max = 1.0f) { if (value < min) value = min; |