Skip to main content

gjk_closest

Function gjk_closest 

Source
pub fn gjk_closest(
    shape_a: &[Point3],
    shape_b: &[Point3],
) -> Option<(Point3, Point3, f64)>
Expand description

GJK closest points between two shapes. Returns (point_on_a, point_on_b, distance) or None if overlapping.