setFromPoints
Computes a bounding sphere for points. The center is optionalCenter when given, otherwise the center of the points' bounding box. The radius reaches the farthest point, so this is not always the smallest possible sphere.
An empty list gives a radius of 0, which is not an empty sphere.
Return
A reference to this sphere.
Parameters
points
A list of points in 3D space.
optionalCenter
The center of the sphere.