clone

fun clone(spherical: Spherical, result: Spherical? = definedExternally): Spherical(source)

Creates a duplicate of a Spherical.

Return

The modified result parameter or a new instance if result was undefined. (Returns undefined if spherical is undefined)

Parameters

spherical

The spherical to clone.

result

The object to store the result into, if undefined a new instance will be created.

See also