Method b3ClosestPointToAABB
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3ClosestPointToAABB(Vector3, b3AABB)
Computes the closest point on a box to a point.
public static Vector3 b3ClosestPointToAABB(Vector3 point, b3AABB a)Parameters
Returns
- Vector3
-
The closest point, which is the point itself when it lies inside the box.