containsPoint method

bool containsPoint(
  1. Vector3 point
)

Returns true if the given point is inside this bounding sphere.

Implementation

bool containsPoint(Vector3 point ) {
	return ( point.squaredDistanceTo( center ) <= ( radius * radius ) );
}