|
| template<std::size_t N> |
| constexpr bool | operator== (const AABB< N > &lhs, const AABB< N > &rhs) noexcept |
| | Gets whether the two AABB objects are equal. More...
|
| |
| template<std::size_t N> |
| constexpr bool | operator!= (const AABB< N > &lhs, const AABB< N > &rhs) noexcept |
| | Gets whether the two AABB objects are not equal. More...
|
| |
|
template<std::size_t N> |
| bool | operator< (const AABB< N > &lhs, const AABB< N > &rhs) noexcept |
| | Less-than operator.
|
| |
|
template<std::size_t N> |
| bool | operator<= (const AABB< N > &lhs, const AABB< N > &rhs) noexcept |
| | Less-than or equal-to operator.
|
| |
|
template<std::size_t N> |
| bool | operator> (const AABB< N > &lhs, const AABB< N > &rhs) noexcept |
| | Greater-than operator.
|
| |
|
template<std::size_t N> |
| bool | operator>= (const AABB< N > &lhs, const AABB< N > &rhs) noexcept |
| | Greater-than or equal-to operator.
|
| |
| template<std::size_t N> |
| constexpr bool | TestOverlap (const AABB< N > &a, const AABB< N > &b) noexcept |
| | Tests for overlap between two axis aligned bounding boxes. More...
|
| |
|
template<std::size_t N> |
| constexpr AABB< N > | GetIntersectingAABB (const AABB< N > &a, const AABB< N > &b) noexcept |
| | Gets the intersecting AABB of the two given AABBs'.
|
| |
|
template<std::size_t N> |
| constexpr Vector< Length, N > | GetCenter (const AABB< N > &aabb) noexcept |
| | Gets the center of the AABB.
|
| |
|
template<std::size_t N> |
| constexpr Vector< Length, N > | GetDimensions (const AABB< N > &aabb) noexcept |
| | Gets dimensions of the given AABB.
|
| |
|
template<std::size_t N> |
| constexpr Vector< Length, N > | GetExtents (const AABB< N > &aabb) noexcept |
| | Gets the extents of the AABB (half-widths).
|
| |
| template<std::size_t N> |
| constexpr bool | Contains (const AABB< N > &a, const AABB< N > &b) noexcept |
| | Checks whether the first AABB fully contains the second AABB. More...
|
| |
|
template<std::size_t N> |
| constexpr AABB< N > & | Include (AABB< N > &var, const Vector< Length, N > &value) noexcept |
| | Includes the given location into the given AABB.
|
| |
| template<std::size_t N> |
| constexpr AABB< N > & | Include (AABB< N > &var, const AABB< N > &val) noexcept |
| | Includes the second AABB into the first one. More...
|
| |
|
template<std::size_t N> |
| constexpr AABB< N > & | Move (AABB< N > &var, const Vector< Length, N > value) noexcept |
| | Moves the given AABB by the given value.
|
| |
|
template<std::size_t N> |
| constexpr AABB< N > & | Fatten (AABB< N > &var, const NonNegative< Length > amount) noexcept |
| | Fattens an AABB by the given amount.
|
| |
|
template<std::size_t N> |
| constexpr AABB< N > | GetDisplacedAABB (AABB< N > aabb, const Vector< Length, N > displacement) |
| | Gets the AABB that the result of displacing the given AABB by the given displacement amount.
|
| |
|
template<std::size_t N> |
| constexpr AABB< N > | GetFattenedAABB (AABB< N > aabb, const Length amount) |
| | Gets the fattened AABB result.
|
| |
|
template<std::size_t N> |
| constexpr AABB< N > | GetMovedAABB (AABB< N > aabb, const Vector< Length, N > value) noexcept |
| | Gets the result of moving the given AABB by the given value.
|
| |
|
template<std::size_t N> |
| constexpr AABB< N > | GetEnclosingAABB (AABB< N > a, const AABB< N > &b) |
| | Gets the AABB that minimally encloses the given AABBs.
|
| |
|
template<std::size_t N> |
| constexpr Vector< Length, N > | GetLowerBound (const AABB< N > &aabb) noexcept |
| | Gets the lower bound.
|
| |
|
template<std::size_t N> |
| constexpr Vector< Length, N > | GetUpperBound (const AABB< N > &aabb) noexcept |
| | Gets the upper bound.
|
| |
|
template<std::size_t N> |
| inline ::std::ostream & | operator<< (::std::ostream &os, const AABB< N > &value) |
| | Output stream operator.
|
| |
|
template<std::size_t N> |
| constexpr bool | operator== (MassData< N > lhs, MassData< N > rhs) |
| | Equality operator for mass data.
|
| |
|
template<std::size_t N> |
| constexpr bool | operator!= (MassData< N > lhs, MassData< N > rhs) |
| | Inequality operator for mass data.
|
| |
|
constexpr auto | factorial (std::int64_t n) |
| | Computes the factorial.
|
| |
| template<typename BT , unsigned int FB, int N = 6> |
| constexpr Fixed< BT, FB > | exp (Fixed< BT, FB > arg) |
| | Computes Euler's number raised to the given power argument. More...
|
| |
| template<typename BT , unsigned int FB, int N = 6> |
| Fixed< BT, FB > | log (Fixed< BT, FB > arg) |
| | Computes the natural logarithm. More...
|
| |
| template<typename BT , unsigned int FB, int N = 5> |
| constexpr Fixed< BT, FB > | sin (Fixed< BT, FB > arg) |
| | Computes the sine of the given argument via Maclaurin series approximation. More...
|
| |
| template<typename BT , unsigned int FB, int N = 5> |
| constexpr Fixed< BT, FB > | cos (Fixed< BT, FB > arg) |
| | Computes the cosine of the given argument via Maclaurin series approximation. More...
|
| |
| template<typename BT , unsigned int FB, int N = 5> |
| constexpr Fixed< BT, FB > | atan (Fixed< BT, FB > arg) |
| | Computes the arctangent of the given argument via Maclaurin series approximation. More...
|
| |
| template<typename BT , unsigned int FB> |
| constexpr auto | ComputeSqrt (Fixed< BT, FB > arg) |
| | Computes the square root of a non-negative value. More...
|
| |
|
template<typename BT , unsigned int FB> |
| auto | AngularNormalize (Fixed< BT, FB > angleInRadians) |
| | Normalizes the given angular argument.
|
| |
|
template<typename T , typename Tag > |
| constexpr T & | UnderlyingValue (IndexingNamedType< T, Tag > &o) noexcept |
| | Gets the underlying value.
|
| |
|
template<typename T , typename Tag > |
| constexpr const T & | UnderlyingValue (const IndexingNamedType< T, Tag > &o) noexcept |
| | Gets the underlying value.
|
| |
|
template<class T > |
| constexpr auto | max_size (const T &arg) -> decltype(arg.max_size()) |
| | Gets the maximum size of the given container.
|
| |
|
template<class T > |
| constexpr auto | IsFull (const T &arg) -> decltype(size(arg)==max_size(arg)) |
| | Checks whether the given container is full.
|
| |
|
template<typename T > |
| static auto | Data (T &v) |
| | Internal helper template function to avoid confusion for use within classes that define their own data() method.
|
| |
|
template<typename T > |
| static auto | Size (T &v) |
| | Internal helper template function to avoid confusion for use within classes that define their own size() method.
|
| |
| template<typename T > |
| static constexpr const char * | GetNameForTypeInfo () noexcept |
| | Gets a null-terminated byte string identifying this function. More...
|
| |
Name space for internal/detail related PlayRho names.