aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-10 09:12:50 +0300
committerSergeanur <s.anureev@yandex.ua>2021-06-24 21:32:43 +0300
commitf518676b76892dacca01aa2447902df3deab95ff (patch)
tree824a1ee550c35e5b8707e1c6ea3a4c638ce0aaa2 /src
parent0f6583560dfec7c2bd6092f139cfef4a39fd7583 (diff)
fabs -> fabsf
Diffstat (limited to 'src')
-rw-r--r--src/math/maths.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/maths.h b/src/math/maths.h
index 8d68bf64..6a228036 100644
--- a/src/math/maths.h
+++ b/src/math/maths.h
@@ -10,7 +10,7 @@ inline float Acos(float x) { return acosf(x); }
inline float Tan(float x) { return tanf(x); }
inline float Atan(float x) { return atanf(x); }
inline float Atan2(float y, float x) { return atan2f(y, x); }
-inline float Abs(float x) { return fabs(x); }
+inline float Abs(float x) { return fabsf(x); }
inline float Sqrt(float x) { return sqrtf(x); }
inline float RecipSqrt(float x, float y) { return x/Sqrt(y); }
inline float RecipSqrt(float x) { return RecipSqrt(1.0f, x); }