Spherical

constructor(theta: Double, phi: Double, radius: Double)(source)

Parameters

theta

the counterclockwise angle from the z-axis at which a point in the xz-plane lies.

phi

the angle measured from the y-axis. The north-pole is at 0 degrees, the south-pole is at 180 degrees.

radius

the radius of the sphere