equals method

bool equals(
  1. BoundingSphere sphere
)

Returns true if the given bounding sphere is deep equal with this bounding sphere.

Implementation

bool equals(BoundingSphere sphere ) {
	return ( sphere.center.equals( center ) ) && ( sphere.radius == radius );
}