struct
#include <core/geom/aabb.hpp>
AABB Represents an axis-aligned bounding box.
Public functions
- auto min() const -> glm::vec3
- Minimum point of the AABB.
- auto max() const -> glm::vec3
- Maximum point of the AABB.
- void min(const glm::vec3& min)
- Sets the minimum point of the AABB.
- void max(const glm::vec3& max)
- Sets the maximum point of the AABB.
- auto box() const -> Box
- Gets a Box representation of the AABB.
- auto center() const -> glm::vec3
- Gets the center of the AABB.
- auto overlapsX(const AABB& other) const -> bool
- Checks if the AABB overlaps with another AABB on the X axis.
- auto overlapsY(const AABB& other) const -> bool
- Checks if the AABB overlaps with another AABB on the Y axis.
- auto overlapsZ(const AABB& other) const -> bool
- Checks if the AABB overlaps with another AABB on the Z axis.
- auto overlaps(const AABB& other) const -> bool
- Checks if the AABB overlaps with another AABB.