clone

fun clone(box: OrientedBoundingBox, result: OrientedBoundingBox? = definedExternally): OrientedBoundingBox(source)

Duplicates a OrientedBoundingBox instance.

Return

The modified result parameter or a new OrientedBoundingBox 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