Sphere
constructor()
Create a sphere with a center of (0,0,0) and a radius of 1.
Create a sphere with a center of (0,0,0) and a specified radius.
Parameters
radius
the radius of the sphere
Create a sphere with a specified center and radius.
Parameters
radius
the radius of the sphere
center
the center of the sphere