vec3.cartesianToSpherical

From GTA Connected
Revision as of 15:35, 24 August 2019 by Mex (talk | contribs) (Mex moved page Vec3.cartesianToSpherical to vec3.cartesianToSpherical)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Method Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

Vec3 vec3.cartesianToSpherical(void)

The vec3.cartesianToSpherical method is used to fetch a new 3D vector of the vector converted to spherical co-ordinates.

Parameters

void This method doesn't take any parameters.

Return

Vec3 The new 3D vector, with X as the radius, Y as the inclination angle, and Z as the azimuthal angle.

Types

Shared Vec3

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.