Static variables
Constructor
Variables
Methods
expand(box:BoundingBox):Void
This merges two bounding boxes so they expand to cover their total volume
This also moves the bounding box so the extents can be applied to the new volume
getTransformed(transform:Matrix3D, ?output:BoundingBox):BoundingBox
Transforms this bounding box to encapsulate an object's global transform.
This can be very useful to determine the object's extents on-screen and do frustum culling
Parameters:
transform | The transform of the |
|---|---|
output | (Optional) Where to store the transformed result, if empty, a new |