intersectsSphere method
Implementation
bool intersectsSphere(BoundingSphere sphere) {
return distanceSqToPoint(sphere.center) <= (sphere.radius * sphere.radius);
}
bool intersectsSphere(BoundingSphere sphere) {
return distanceSqToPoint(sphere.center) <= (sphere.radius * sphere.radius);
}