Math::BoundingBox struct

A pair of two Vector3 that define the boundaries of an object (the minimum point and the maximum point in the space).

Constructors, destructors, conversion operators

BoundingBox()

Public functions

void ApplyTransform(const Transform& transform)
Recalculates the bounding box after having applied the given transform.

Public variables

Vector3 lower
Vector3 upper

Function documentation

void Math::BoundingBox::ApplyTransform(const Transform& transform)

Recalculates the bounding box after having applied the given transform.

Parameters
transform The transformation to apply to the bounding box.