[][src]Function newton::collision::closest_point

pub fn closest_point<A, B>(
    newton: &Newton,
    col_a: &A,
    mat_a: Mat4,
    col_b: &B,
    mat_b: Mat4,
    thread_idx: usize
) -> Option<ClosestPoint> where
    A: ConvexShape,
    B: ConvexShape

Returns the closest point between two convex collisions.