distanceSquared(toPoint:)
Calculates the distance from a point to the bounding box.
Declaration
func distanceSquared(toPoint: SIMD3<Float>) -> FloatParameters
- toPoint:
The point.
Return Value
The square of the distance, in meters, from the point to the box.