Bounding Sphere
To determine if a point
(x,y,z)
is inside a bounding sphere:
distance(center, (x,y,z)) <= radius