intersectsBox method

bool intersectsBox(
  1. BoundingBox box
)

box - page:Box3 to check for intersection against.

Determines whether or not this sphere intersects a given box.

Implementation

bool intersectsBox(BoundingBox box) {
  return box.intersectsSphere(this);
}