distanceToPoint method

double distanceToPoint(
  1. Vector3 point
)

Implementation

double distanceToPoint(Vector3 point) {
  var clampedPoint = _vectorBox3.copy(point).clamp(min, max);

  return clampedPoint.sub(point).length();
}