menu
openworld package
documentation
three_dart/three3d/math/index.dart
Sphere
distanceToPoint method
distanceToPoint method
dark_mode
light_mode
distanceToPoint
method
double
distanceToPoint
(
Vector3
point
)
Implementation
double distanceToPoint(Vector3 point) { return (point.distanceTo(center) - radius); }
openworld package
documentation
three_dart/three3d/math/index
Sphere
distanceToPoint method
Sphere class