Skip to main content

b3PointToSegmentDistance

Function b3PointToSegmentDistance 

Source
pub unsafe extern "C" fn b3PointToSegmentDistance(
    a: b3Vec3,
    b: b3Vec3,
    q: b3Vec3,
) -> b3Vec3
Expand description

Compute the closest point on the segment a-b to the target q.