template<typename T>
BoundingBox class
| Template parameters | |
|---|---|
| T | the number type |
Contents
Representation of a bounding box defined by an origin and a vector from the origin to one extremity
Public static functions
- static auto FromMinMax(const Vector3<T>& min, const Vector3<T>& max) -> BoundingBox noexcept
Constructors, destructors, conversion operators
- BoundingBox(const Vector3<T>& origin, const Vector3<T>& ext) noexcept
- BoundingBox() noexcept
Public functions
Public variables
Function documentation
template<typename T>
static BoundingBox bpf:: math:: BoundingBox<T>:: FromMinMax(const Vector3<T>& min,
const Vector3<T>& max) noexcept
| Parameters | |
|---|---|
| min | the minimum point |
| max | the maximum point |
| Returns | new BoundingBox |
Computes a BoundingBox from a min and a max point
template<typename T>
bpf:: math:: BoundingBox<T>:: BoundingBox(const Vector3<T>& origin,
const Vector3<T>& ext) noexcept
| Parameters | |
|---|---|
| origin | the origin |
| ext | a vector to one extremity |
Constructs a BoundingBox
template<typename T>
bpf:: math:: BoundingBox<T>:: BoundingBox() noexcept
Constructs a BoundingBox centered at the origin