|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector2F< T > | jau::math::abs (const Vector2F< T > &lhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector2I< T > | jau::math::abs (const Vector2I< T > &lhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector3F< T > | jau::math::abs (const Vector3F< T > &lhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector4F< T > | jau::math::abs (const Vector4F< T > &lhs) noexcept |
|
constexpr jau::math::Vec3f | jau::math::util::getEulerAngleOrientation (const jau::math::Vec3f &eulerRotation) noexcept |
| Returns an orientation vector for given eurler X/Y/Z angles in radians.
|
|
constexpr float | jau::math::util::getOrthoWinZ (float orthoZ, float zNear, float zFar) noexcept |
| Returns orthogonal distance (1f/zNear-1f/orthoZ) / (1f/zNear-1f/zFar);.
|
|
constexpr float | jau::math::util::getZBufferEpsilon (int zBits, float z, float zNear) noexcept |
| Returns resolution of Z buffer of given parameter, see Love Your Z-Buffer.
|
|
constexpr int | jau::math::util::getZBufferValue (int zBits, float z, float zNear, float zFar) noexcept |
| Returns Z buffer value of given parameter, see Love Your Z-Buffer.
|
|
static constexpr bool | jau::math::geom::plane::is_set (const AffineTransformType mask, const AffineTransformType bit) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector2F< T > | jau::math::max (const Vector2F< T > &lhs, const Vector2F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true> |
constexpr Vector2I< T > | jau::math::max (const Vector2I< T > &lhs, const Vector2I< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector3F< T > | jau::math::max (const Vector3F< T > &lhs, const Vector3F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector4F< T > | jau::math::max (const Vector4F< T > &lhs, const Vector4F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector2F< T > | jau::math::min (const Vector2F< T > &lhs, const Vector2F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true> |
constexpr Vector2I< T > | jau::math::min (const Vector2I< T > &lhs, const Vector2I< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector3F< T > | jau::math::min (const Vector3F< T > &lhs, const Vector3F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector4F< T > | jau::math::min (const Vector4F< T > &lhs, const Vector4F< T > &rhs) noexcept |
|
static constexpr int | jau::math::geom::plane::number (const AffineTransformType rhs) noexcept |
|
static constexpr bool | jau::math::geom::plane::operator!= (const AffineTransformType lhs, const AffineTransformType rhs) noexcept |
|
static constexpr AffineTransformType | jau::math::geom::plane::operator& (const AffineTransformType lhs, const AffineTransformType rhs) noexcept |
|
template<typename T, std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true> |
constexpr Vector2I< T > | jau::math::operator* (const float s, const Vector2I< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Matrix4< T > | jau::math::operator* (const Matrix4< T > &lhs, const Matrix4< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Matrix4< T > | jau::math::operator* (const Matrix4< T > &lhs, const T s) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Quaternion< T > | jau::math::operator* (const Quaternion< T > &lhs, const Quaternion< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Quaternion< T > | jau::math::operator* (const Quaternion< T > &lhs, const T s) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Matrix4< T > | jau::math::operator* (const T s, const Matrix4< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Quaternion< T > | jau::math::operator* (const T s, const Quaternion< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector2F< T > | jau::math::operator* (const T s, const Vector2F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector3F< T > | jau::math::operator* (const T s, const Vector3F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector4F< T > | jau::math::operator* (const T s, const Vector4F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector2F< T > | jau::math::operator* (const Vector2F< T > &lhs, const T s) noexcept |
|
template<typename T, std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true> |
constexpr Vector2I< T > | jau::math::operator* (const Vector2I< T > &lhs, const float s) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector3F< T > | jau::math::operator* (const Vector3F< T > &lhs, const T s) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector4F< T > | jau::math::operator* (const Vector4F< T > &lhs, const T s) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Quaternion< T > | jau::math::operator+ (const Quaternion< T > &lhs, const Quaternion< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector2F< T > | jau::math::operator+ (const Vector2F< T > &lhs, const Vector2F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true> |
constexpr Vector2I< T > | jau::math::operator+ (const Vector2I< T > &lhs, const Vector2I< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector3F< T > | jau::math::operator+ (const Vector3F< T > &lhs, const Vector3F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector4F< T > | jau::math::operator+ (const Vector4F< T > &lhs, const Vector4F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Quaternion< T > | jau::math::operator- (const Quaternion< T > &lhs, const Quaternion< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector2F< T > | jau::math::operator- (const Vector2F< T > &lhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector2F< T > | jau::math::operator- (const Vector2F< T > &lhs, const Vector2F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true> |
constexpr Vector2I< T > | jau::math::operator- (const Vector2I< T > &lhs) noexcept |
|
template<typename T, std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true> |
constexpr Vector2I< T > | jau::math::operator- (const Vector2I< T > &lhs, const Vector2I< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector3F< T > | jau::math::operator- (const Vector3F< T > &lhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector3F< T > | jau::math::operator- (const Vector3F< T > &lhs, const Vector3F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector4F< T > | jau::math::operator- (const Vector4F< T > &lhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector4F< T > | jau::math::operator- (const Vector4F< T > &lhs, const Vector4F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector2F< T > | jau::math::operator/ (const T s, const Vector2F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector2I< T > | jau::math::operator/ (const T s, const Vector2I< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector3F< T > | jau::math::operator/ (const T s, const Vector3F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector4F< T > | jau::math::operator/ (const T s, const Vector4F< T > &rhs) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector2F< T > | jau::math::operator/ (const Vector2F< T > &lhs, const T s) noexcept |
|
template<typename T, std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true> |
constexpr Vector2I< T > | jau::math::operator/ (const Vector2I< T > &lhs, const float s) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector3F< T > | jau::math::operator/ (const Vector3F< T > &lhs, const T s) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector4F< T > | jau::math::operator/ (const Vector4F< T > &lhs, const T s) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
std::ostream & | jau::math::operator<< (std::ostream &out, const Matrix4< T > &v) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
std::ostream & | jau::math::operator<< (std::ostream &out, const Quaternion< T > &v) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
std::ostream & | jau::math::operator<< (std::ostream &out, const Ray2F< T > &v) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
std::ostream & | jau::math::operator<< (std::ostream &out, const Ray3F< T > &v) noexcept |
|
template<typename T, std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true> |
std::ostream & | jau::math::operator<< (std::ostream &out, const RectI< T > &v) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
std::ostream & | jau::math::operator<< (std::ostream &out, const Vector2F< T > &v) noexcept |
|
template<typename T, std::enable_if_t< std::numeric_limits< T >::is_integer, bool > = true> |
std::ostream & | jau::math::operator<< (std::ostream &out, const Vector2I< T > &v) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
std::ostream & | jau::math::operator<< (std::ostream &out, const Vector3F< T > &v) noexcept |
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
std::ostream & | jau::math::operator<< (std::ostream &out, const Vector4F< T > &v) noexcept |
|
template<typename Value_type, std::enable_if_t< std::is_floating_point_v< Value_type >, bool > = true> |
std::ostream & | jau::math::util::operator<< (std::ostream &out, const PMVMatrix4< Value_type > &v) noexcept |
|
static constexpr bool | jau::math::geom::plane::operator== (const AffineTransformType lhs, const AffineTransformType rhs) noexcept |
|
static constexpr AffineTransformType | jau::math::geom::plane::operator^ (const AffineTransformType lhs, const AffineTransformType rhs) noexcept |
|
static constexpr AffineTransformType | jau::math::geom::plane::operator| (const AffineTransformType lhs, const AffineTransformType rhs) noexcept |
|
static constexpr AffineTransformType & | jau::math::geom::plane::operator|= (AffineTransformType &lhs, const AffineTransformType rhs) noexcept |
|
constexpr orientation_t | jau::math::geom::orientation (const Point2f &a, const Point2f &b, const Point2f &c) noexcept |
| Return the orientation of the given point triplet a, b and c using triArea()
|
|
std::string | jau::math::to_string (const math_error_t v) noexcept |
| Returns std::string representation of math_error_t.
|
|
template<typename T, std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
constexpr Vector3F< T > | jau::math::to_vec3 (const Vector4F< T > &v) noexcept |
| out = { this.x, this.y, this.z } dropping w, returns out.
|
|
constexpr double | jau::math::geom::tri_area (const Point2f &a, const Point2f &b, const Point2f &c) |
| Computes oriented double area of a triangle, i.e.
|
|
Math Support Functionality, e.g.