Distance from the triangle to a segment; target1 and target2 get the closest points on the triangle and on the segment (three-mesh-bvh's ExtendedTriangle.closestPointToSegment).
target1
target2
ExtendedTriangle.closestPointToSegment
Distance from the triangle to a segment;
target1andtarget2get the closest points on the triangle and on the segment (three-mesh-bvh'sExtendedTriangle.closestPointToSegment).