|
template<typename Real> |
constexpr Real | nnm::pi () |
template<typename Real> |
constexpr Real | nnm::epsilon () |
template<typename Num> |
constexpr Num | nnm::sign (const Num value) |
template<typename Num> |
constexpr Num | nnm::abs (const Num value) |
template<typename Num> |
constexpr Num | nnm::max (const Num a, const Num b) |
template<typename Num, typename... Rest> |
constexpr Num | nnm::max (const Num first, const Rest... rest) |
template<typename Real> |
constexpr bool | nnm::approx_zero (const Real value) |
template<typename Real> |
constexpr bool | nnm::approx_equal (const Real a, const Real b) |
template<typename Real> |
constexpr bool | nnm::approx_less (const Real a, const Real b) |
template<typename Real> |
constexpr bool | nnm::approx_greater (const Real a, const Real b) |
template<typename Real> |
constexpr bool | nnm::approx_less_equal (const Real a, const Real b) |
template<typename Real> |
constexpr bool | nnm::approx_greater_equal (const Real a, const Real b) |
template<typename Real> |
constexpr bool | nnm::approx_less_zero (const Real value) |
template<typename Real> |
constexpr bool | nnm::approx_greater_zero (const Real value) |
template<typename Real> |
constexpr bool | nnm::approx_less_equal_zero (const Real value) |
template<typename Real> |
constexpr bool | nnm::approx_greater_equal_zero (const Real value) |
template<typename Real> |
Real | nnm::ceil (const Real value) |
template<typename Num> |
constexpr Num | nnm::clamp (const Num value, const Num min, const Num max) |
template<typename Real> |
Real | nnm::sqrt (const Real value) |
template<typename Real> |
Real | nnm::pow (const Real base, const Real power) |
template<typename Num> |
constexpr Num | nnm::sqrd (const Num value) |
template<typename Real> |
Real | nnm::modf (const Real dividend, const Real divisor) |
template<typename Int> |
constexpr Int | nnm::mod (const Int dividend, const Int divisor) |
template<typename Real> |
Real | nnm::remf (const Real dividend, const Real divisor) |
template<typename Int> |
constexpr Int | nnm::rem (const Int dividend, const Int divisor) |
template<typename Real> |
Real | nnm::normalize_angle (const Real angle) |
template<typename Real> |
bool | nnm::angle_in_range (const Real angle, const Real from, const Real to) |
template<typename Real> |
Real | nnm::floor (const Real value) |
template<typename Real> |
constexpr Real | nnm::lerp (const Real from, const Real to, const Real weight) |
template<typename Real> |
constexpr Real | nnm::lerp_clamped (const Real from, const Real to, const Real weight) |
template<typename Real> |
Real | nnm::sin (const Real value) |
template<typename Real> |
Real | nnm::cos (const Real value) |
template<typename Real> |
Real | nnm::tan (const Real value) |
template<typename Real> |
Real | nnm::round (const Real value) |
template<typename Real> |
Real | nnm::atan (const Real value) |
template<typename Real> |
Real | nnm::atan2 (const Real y, const Real x) |
template<typename Real> |
constexpr Real | nnm::radians (const Real degrees) |
template<typename Real> |
constexpr Real | nnm::degrees (const Real radians) |
template<typename Real> |
Real | nnm::asin (const Real value) |
template<typename Real> |
Real | nnm::acos (const Real value) |
template<typename Num> |
constexpr Num | nnm::min (const Num a, const Num b) |
template<typename Num, typename... Rest> |
constexpr Num | nnm::min (const Num first, const Rest... rest) |
template<typename Real> |
Real | nnm::log2 (const Real value) |
template<typename Real> |
Vector2< Real > constexpr | nnm::operator* (const Real value, const Vector2< Real > &vector) |
template<typename Real> |
Vector2< Real > constexpr | nnm::operator/ (const Real value, const Vector2< Real > &vector) |
template<typename Int> |
constexpr Vector2i< Int > | nnm::operator* (const Int value, const Vector2i< Int > &vector) |
template<typename Int> |
constexpr Vector2i< Int > | nnm::operator/ (const Int value, const Vector2i< Int > &vector) |
template<typename Int> |
constexpr Vector2i< Int > | nnm::operator% (const Int value, const Vector2i< Int > &vector) |
template<typename Real> |
constexpr Vector3< Real > | nnm::operator* (const Real value, const Vector3< Real > &vector) |
template<typename Real> |
constexpr Vector3< Real > | nnm::operator/ (const Real value, const Vector3< Real > &vector) |
template<typename Int> |
constexpr Vector3i< Int > | nnm::operator* (const Int value, const Vector3i< Int > &vector) |
template<typename Int> |
constexpr Vector3i< Int > | nnm::operator/ (const Int value, const Vector3i< Int > &vector) |
template<typename Int> |
constexpr Vector3i< Int > | nnm::operator% (const Int value, const Vector3i< Int > &vector) |
template<typename Real> |
constexpr Vector4< Real > | nnm::operator* (const Real value, const Vector4< Real > &vector) |
template<typename Real> |
constexpr Vector4< Real > | nnm::operator/ (const Real value, const Vector4< Real > &vector) |
template<typename Real> |
constexpr Matrix2< Real > | nnm::operator* (const Real value, const Matrix2< Real > &matrix) |
template<typename Real> |
constexpr Matrix2< Real > | nnm::operator/ (const Real value, const Matrix2< Real > &matrix) |
template<typename Real> |
constexpr Matrix3< Real > | nnm::operator* (const Real value, const Matrix3< Real > &matrix) |
template<typename Real> |
constexpr Matrix3< Real > | nnm::operator/ (const Real value, const Matrix3< Real > &matrix) |
template<typename Real> |
constexpr Matrix4< Real > | nnm::operator* (const Real value, const Matrix4< Real > &matrix) |
template<typename Real> |
constexpr Matrix4< Real > | nnm::operator/ (const Real value, const Matrix4< Real > &matrix) |