### 12.15.4 Spheres: sphere

The sphere command takes two arguments; either two points or a point and a real number.

With two points as arguments, sphere returns and draws the sphere with a diameter specified by the points.
Input:

sphere([-2,0,0],[2,0,0])

Output:

With a point and a real number as arguments, sphere returns and draws the sphere centered at the point with radius given by the number.
Input:

sphere([0,0,0],2)

returns and draws the same sphere as above.