diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/math_func.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/math_func.hpp b/src/core/math_func.hpp index a7f07d614..82a4799ac 100644 --- a/src/core/math_func.hpp +++ b/src/core/math_func.hpp @@ -175,7 +175,7 @@ static inline int32 ClampToI32(const int64 a) * @param b The second scalar * @return The absolute difference between the given scalars */ -template <typename T> static inline T delta(const T a, const T b) { +template <typename T> static inline T Delta(const T a, const T b) { return (a < b) ? b - a : a - b; } |