Initializes a new instance of BoundingBox passing the extents.
Gets the center position of the bounding box.
Gets the BoundingBox as Float32Array length=6, min + max
Gets the extents of the bounding box, negative if empty.
Return a clone of the BoundingBox
Returns true if empty BoundingBox (e.g. min[x/y/z] > max)
Returns true if bounding box hax max > min in all directions
Return intersection of this and other bounding box.
Bounding box for intersection.
Intersection.
Convert to string. Returns "empty" or "{ min[0], min[1] etc. }"
Return union of this and other bounding box.
Bounding box for union.
Union.
Static
createStatic
fromCreate a new BoundingBox.
Array of six numbers: min and max xyz coordinates
Created instance.
BoundingBox in single precision Engine Coordinates. Engine Coordinates. Used by