intersectsWithVector3 method Null safety

bool intersectsWithVector3(
  1. Vector3 other
)

Return if this intersects with other.

Implementation

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