Companion

external object Companion(source)

Functions

Link copied to clipboard
external fun clone(spherical: Spherical, result: Spherical? = definedExternally): Spherical

Creates a duplicate of a Spherical.

Link copied to clipboard
external fun equals(left: Spherical? = definedExternally, right: Spherical? = definedExternally): Boolean

Returns true if the first spherical is equal to the second spherical, false otherwise.

Link copied to clipboard
external fun equalsEpsilon(left: Spherical, right: Spherical, epsilon: Double? = definedExternally): Boolean

Returns true if the first spherical is within the provided epsilon of the second spherical, false otherwise.

Link copied to clipboard
external fun fromCartesian3(cartesian3: Cartesian3, result: Spherical? = definedExternally): Spherical

Converts the provided Cartesian3 into Spherical coordinates.

Link copied to clipboard
external fun normalize(spherical: Spherical, result: Spherical? = definedExternally): Spherical

Computes the normalized version of the provided spherical.