Bounds of an object.
More...
#include <GREM/physics/objects.hpp>
|
| constexpr bool | operator== (const ObjectBounds &other) const noexcept=default |
| | Compare these bounds to another for equality.
|
template<size_t N>
struct grem::physics::ObjectBounds< N >
Bounds of an object.
- Template Parameters
-
| N | number of dimensions of the world space (must be 2 or 3). |
◆ operator==()
template<size_t N>
|
|
nodiscardconstexprdefaultnoexcept |
Compare these bounds to another for equality.
- Parameters
-
| other | the bounds to compare these to. |
- Returns
- true if the bounds are equal, false otherwise.
◆ boundingBox
Axis-aligned bounding box of the object.
The documentation for this struct was generated from the following file: