Return whether specified floating point value is zero or not with specified tolerance.
constexpr bool IsZero(const float a, const float tolerance = Tolerance);
constexpr bool IsZero(const double a, const double tolerance = dTolerance);
Namespace: | nitisa |
Include: | Nitisa/Core/Math/Utils.h |