|
| template<typename T > |
| T | mv::math::Dot (const Vec2< T > &left, const Vec2< T > &right) noexcept |
| |
| template<typename T > |
| T | mv::math::LengthSquared (const Vec2< T > &value) noexcept |
| |
template<typename T >
requires std::is_floating_point_v<T> |
| bool | mv::math::IsNearlyEqual (const Vec2< T > &left, const Vec2< T > &right, Tolerance< T > tolerance=Tolerance< T >::Default()) noexcept |
| |
template<typename T >
requires std::is_floating_point_v<T> |
| bool | mv::math::IsNearlyZero (const Vec2< T > &value, T absoluteTolerance=Tolerance< T >::Default().Absolute) noexcept |
| |
template<typename T >
requires std::is_floating_point_v<T> |
| T | mv::math::Length (const Vec2< T > &value) noexcept |
| |
| template<typename T > |
| T | mv::math::DistanceSquared (const Vec2< T > &left, const Vec2< T > &right) noexcept |
| |
template<typename T >
requires std::is_floating_point_v<T> |
| T | mv::math::Distance (const Vec2< T > &left, const Vec2< T > &right) noexcept |
| |
| template<typename T > |
| Vec2< T > | mv::math::Min (const Vec2< T > &left, const Vec2< T > &right) noexcept |
| |
| template<typename T > |
| Vec2< T > | mv::math::Max (const Vec2< T > &left, const Vec2< T > &right) noexcept |
| |
| template<typename T > |
| Vec2< T > | mv::math::Clamp (const Vec2< T > &value, const Vec2< T > &minimum, const Vec2< T > &maximum) noexcept |
| |
| template<typename T > |
| Vec2< T > | mv::math::Clamp (const Vec2< T > &value, T minimum, T maximum) noexcept |
| |
template<typename T >
requires (std::is_signed_v<T> || std::is_floating_point_v<T>) |
| Vec2< T > | mv::math::Abs (const Vec2< T > &value) noexcept |
| |
template<typename T >
requires (std::is_signed_v<T> || std::is_floating_point_v<T>) |
| Vec2< T > | mv::math::Sign (const Vec2< T > &value) noexcept |
| |
template<typename T >
requires std::is_floating_point_v<T> |
| Vec2< T > | mv::math::LerpUnclamped (const Vec2< T > &from, const Vec2< T > &to, T amount) noexcept |
| |
template<typename T >
requires std::is_floating_point_v<T> |
| Vec2< T > | mv::math::Lerp (const Vec2< T > &from, const Vec2< T > &to, T amount) noexcept |
| |