diff --git a/Source/Engine/Core/Math/Math.h b/Source/Engine/Core/Math/Math.h index b184ca5ad..462f71678 100644 --- a/Source/Engine/Core/Math/Math.h +++ b/Source/Engine/Core/Math/Math.h @@ -140,11 +140,6 @@ namespace Math return exp2f(value); } - static FORCE_INLINE double Abs(const double value) - { - return fabs(value); - } - static FORCE_INLINE float Abs(const float value) { return fabsf(value); @@ -160,11 +155,6 @@ namespace Math return value < 0 ? -value : value; } - static FORCE_INLINE double Mod(const double a, const double b) - { - return fmod(a, b); - } - static FORCE_INLINE float Mod(const float a, const float b) { return fmodf(a, b); @@ -434,14 +424,6 @@ namespace Math return amount <= 0 ? 0 : amount >= 1 ? 1 : amount * amount * amount * (amount * (amount * 6 - 15) + 10); } - // Determines whether the specified value is close to zero (0.0) - // @param a The floating value - // @returns True if the specified value is close to zero (0.0). otherwise false - inline bool IsZero(double a) - { - return Abs(a) < 1e-7; - } - // Determines whether the specified value is close to zero (0.0f) // @param a The floating value // @returns True if the specified value is close to zero (0.0f). otherwise false