fabs -> fabsf

This commit is contained in:
Sergeanur 2021-05-10 09:13:32 +03:00
parent 4da733145e
commit fc1bfcbc21

View File

@ -10,7 +10,7 @@ inline float Acos(float x) { return acosf(x); }
inline float Tan(float x) { return tanf(x); } inline float Tan(float x) { return tanf(x); }
inline float Atan(float x) { return atanf(x); } inline float Atan(float x) { return atanf(x); }
inline float Atan2(float y, float x) { return atan2f(y, 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 Sqrt(float x) { return sqrtf(x); }
inline float RecipSqrt(float x, float y) { return x/Sqrt(y); } inline float RecipSqrt(float x, float y) { return x/Sqrt(y); }
inline float RecipSqrt(float x) { return RecipSqrt(1.0f, x); } inline float RecipSqrt(float x) { return RecipSqrt(1.0f, x); }