Checks if this bounding box overlaps with another bounding box.
The other bounding box to check against.
True if the bounding boxes overlap, false otherwise.
Checks if this bounding box fully contains another bounding box.
The other bounding box to check.
True if this bounding box fully contains the other, false otherwise.
Checks if this bounding box fully contains a point.
True if this bounding box fully contains the point, false otherwise.
Calculates the intersection bounding box between this and another bounding box.
The other bounding box to intersect with.
A new BoundingBox representing the intersection, or null if there is no intersection.
Calculates the union bounding box between this and another bounding box.
The other bounding box to unite with.
A new BoundingBox representing the union.
Checks if this bounding box fully contains another bounding box in the 2D plane (ignores the z-axis).
The other bounding box to check.
True if this bounding box fully contains the other in 2D, false otherwise.
Returns the offsets in the solid indices array for each face. The order is: bottom, top, left, right, front, back.
Represents a bounding box in 3D space.