|
wavelength 1.0.0
|
Axis-aligned bounding box. More...
#include <box.h>

Public Member Functions | |
| void | GrowToContain (const Vector3 &point) |
| Widen this box on each axis where a point falls outside it. | |
Public Attributes | |
| Vector3 | mMin |
| Vector3 | mMax |
Axis-aligned bounding box.
The class is not polymorphic and emits no RTTI descriptor, and no dump labels its members. The name and the member titles are therefore inferred from GrowToContain(), the one routine that treats the two quadwords as a lower and an upper corner.
| void Box::GrowToContain | ( | const Vector3 & | point | ) |
Widen this box on each axis where a point falls outside it.
An axis whose value is below the lower corner moves only the lower corner, and the upper corner is tested only when the lower one did not move. The name is inferred.
| point | The point to enclose. |
| Vector3 Box::mMin |
Lower corner.
| Vector3 Box::mMax |
Upper corner.