An interface defining common operations for bounding volumes (i.e.
Determines which side of a plane a sphere is located.
planeThe plane to test against. Returns
INTERSECTION.INSIDEif the entire sphere is on the side of the plane the normal is pointing
INTERSECTION.OUTSIDEif the entire sphere is on the opposite side
INTERSECTION.INTERSECTINGif the sphere intersects the plane.
Applies a 4x4 affine transformation matrix to a bounding sphere.
transformThe transformation matrix to apply to the bounding sphere.
Computes the estimated distance squared from the closest point on a bounding sphere to a point.
This class was ported from Cesium under the Apache 2 License.