Skip to main content

segment_distance

Function segment_distance 

Source
pub fn segment_distance(
    p1: Vec3,
    q1: Vec3,
    p2: Vec3,
    q2: Vec3,
) -> SegmentDistanceResult
Expand description

Compute the closest points on two line segments.