Function heron::rapier_plugin::rapier2d::parry::query::details::intersection_test_support_map_support_map_with_params
source · pub fn intersection_test_support_map_support_map_with_params<G1, G2>(
pos12: &Isometry<f32, Unit<Complex<f32>>, 2>,
g1: &G1,
g2: &G2,
simplex: &mut VoronoiSimplex,
init_dir: Option<Unit<Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>>>
) -> (bool, Unit<Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>>)where
G1: SupportMap + ?Sized,
G2: SupportMap + ?Sized,
Expand description
Intersection test between support-mapped shapes (Cuboid
, ConvexHull
, etc.)
This allows a more fine grained control other the underlying GJK algorithm.