fromSpherical

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

Converts the provided Spherical into Cartesian3 coordinates.

Return

The modified result parameter or a new Cartesian3 instance if one was not provided.

Parameters

spherical

The Spherical to be converted to Cartesian3.

result

The object onto which to store the result.

See also