intersectsWithVector3 method

bool intersectsWithVector3(
  1. Vector3 other
)

Return if this intersects with other.

Implementation

bool intersectsWithVector3(Vector3 other) =>
    other.distanceToSquared(center) <= radius * radius;