From 734b22e070ca1dac717780d0a4d1ca962c4ddfbf Mon Sep 17 00:00:00 2001 From: skidd13 Date: Mon, 26 Nov 2007 16:01:29 +0000 Subject: (svn r11526) -Codechange: Rename the function delta fitting to the naming style --- src/core/math_func.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') 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 static inline T delta(const T a, const T b) { +template static inline T Delta(const T a, const T b) { return (a < b) ? b - a : a - b; } -- cgit v1.2.3-70-g09d2