Struct AABB#

Struct Documentation#

struct AABB#

An axis-aligned bounding box in some space. min must be <= max componentwise; a box built from no points is left inverted on purpose so isValid() can reject it rather than silently behaving like a point at the origin.

Public Functions

inline bool isValid() const#

Public Members

glm::vec3 min = {0.0F}#
glm::vec3 max = {0.0F}#