|
Move Vectormath main
C++20 game and graphics mathematics
|
#include <algorithm>#include <cmath>#include <limits>#include <type_traits>Go to the source code of this file.
Classes | |
| struct | mv::math::Tolerance< T > |
Namespaces | |
| namespace | mv |
| namespace | mv::math |
Functions | |
| template<typename T > requires std::is_floating_point_v<T> | |
| constexpr bool | mv::math::IsNearlyEqual (T left, T right, Tolerance< T > tolerance=Tolerance< T >::Default()) noexcept |
| template<typename T > requires std::is_floating_point_v<T> | |
| constexpr bool | mv::math::IsNearlyZero (T value, T absoluteTolerance=Tolerance< T >::Default().Absolute) noexcept |