clone

Duplicates a AxisAlignedBoundingBox instance.

Return

The modified result parameter or a new AxisAlignedBoundingBox instance if none was provided. (Returns undefined if box is undefined)

Parameters

box

The bounding box to duplicate.

result

The object onto which to store the result.

See also