Function heron::rapier_plugin::rapier2d::parry::query::sat::triangle_support_map_find_local_separating_normal_oneway [−][src]
pub fn triangle_support_map_find_local_separating_normal_oneway(
triangle1: &Triangle,
shape2: &impl SupportMap,
pos12: &Isometry<f32, Unit<Complex<f32>>, 2_usize>
) -> (f32, Matrix<f32, Const<{_: usize}>, Const<1_usize>, ArrayStorage<f32, 2_usize, 1_usize>>)
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.