Polarith AI
1.8

◆ CartesianToSperical()

static Vector2 CartesianToSperical ( Vector3  point)
static

Converts the given point from cartesian coordinates into spherical coordinates ignoring the radius parameter that is assumed to be 1.

Parameters
pointPoint in cartesian coordinates.
Returns
A vector containing the two spherical angles: x = azimuth angle and y = polar angle. The radius parameter is assumed to be 1.
Imprint