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