intersectsWithVector3 method Null safety
- Vector3 other
Return if this intersects with other
.
Implementation
bool intersectsWithVector3(Vector3 other) =>
other.distanceToSquared(center) <= radius * radius;
Return if this intersects with other
.
bool intersectsWithVector3(Vector3 other) =>
other.distanceToSquared(center) <= radius * radius;