parry2d::query::sat

Function triangle_support_map_find_local_separating_normal_oneway

Source
pub fn triangle_support_map_find_local_separating_normal_oneway(
    triangle1: &Triangle,
    shape2: &impl SupportMap,
    pos12: &Isometry<f32>,
) -> (f32, Vector<f32>)
Expand description

Finds the best separating normal between a triangle and a convex shape implementing the SupportMap trait.

Only the normals of triangle1 are tested.