clone

fun clone(sphere: BoundingSphere, result: BoundingSphere? = definedExternally): BoundingSphere(source)

Duplicates a BoundingSphere instance.

Return

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

Parameters

sphere

The bounding sphere to duplicate.

result

The object onto which to store the result.

See also