Create a new instance. The poles (phi) are at the positive and negative y axis. The equator (theta) starts at positive z..
The radius, or the Euclidean distance (straight-line distance) from the point to the origin. Default is 1.0
Polar angle in radians from the y (up) axis. Default is 0.
Equator angle in radians around the y (up) axis. Default is 0.
Polar angle in radians from the y (up) axis. Default is 0.
The radius, or the Euclidean distance (straight-line distance) from the point to the origin. Default is 1.0.
Equator angle in radians around the y (up) axis. Default is 0.
Read-only flag to check if a given object is of type Spherical.
Create a new spherical with the same radius, phi and theta properties as this one.
A new Spherical instance
Restricts the polar angle phi to be between 0.000001 and pi - 0.000001.
This instance.
Sets values of this spherical's radius, phi and theta properties.
This instance.
The radius, or the Euclidean distance (straight-line distance) from the point to the origin.
Polar angle in radians from the y (up) axis.
Equator angle in radians around the y (up) axis.
Sets values of this spherical's radius, phi and theta properties from Cartesian coordinates.
This instance.
The X coordinate.
The Y coordinate.
The Z coordinate.
A point's spherical coordinates.