↓ 11 callersFunctiondistancePointSegmentSquaredA segment is defined by S(t) = mP0 * (1 - t) + mP1 * t, with 0 <= t <= 1
Alternatively, a segment is S(t) = Origin + t * Direction for 0 <= t <= 1.
physx/source/geomutils/src/distance/GuDistancePointSegment.h:76