Download Now

    Reference ClosestPointOnSegment

    Declared in Codebot.Physics.pas on line 117

    The point on the segment from A to B which is closest to P
    function ClosestPointOnSegment(const P, A, B: TVec2): TVec2;

    See also

    TVec2 in Codebot.Geometry.pas