diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-05-10 08:13:32 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-05-10 08:13:32 +0200 |
commit | fc1bfcbc212848ce0fe51c4212ac4e9475ce67a6 (patch) | |
tree | 5126b2107b1afaf8cbecf29d7bd174bbb7c6bb6e | |
parent | fix (diff) | |
download | re3-fc1bfcbc212848ce0fe51c4212ac4e9475ce67a6.tar re3-fc1bfcbc212848ce0fe51c4212ac4e9475ce67a6.tar.gz re3-fc1bfcbc212848ce0fe51c4212ac4e9475ce67a6.tar.bz2 re3-fc1bfcbc212848ce0fe51c4212ac4e9475ce67a6.tar.lz re3-fc1bfcbc212848ce0fe51c4212ac4e9475ce67a6.tar.xz re3-fc1bfcbc212848ce0fe51c4212ac4e9475ce67a6.tar.zst re3-fc1bfcbc212848ce0fe51c4212ac4e9475ce67a6.zip |
-rw-r--r-- | src/math/maths.h | 2 |
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); } |