normalize

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

Computes the normalized version of the provided spherical.

Return

The modified result parameter or a new instance if result was undefined.

Parameters

spherical

The spherical to be normalized.

result

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

See also