Function heron::rapier_plugin::rapier2d::parry::query::sat::cuboid_support_map_find_local_separating_normal_oneway
source · pub fn cuboid_support_map_find_local_separating_normal_oneway<S>(
cube1: &Cuboid,
shape2: &S,
pos12: &Isometry<f32, Unit<Complex<f32>>, 2>
) -> (f32, Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>)where
S: SupportMap,
Expand description
Finds the best separating normal between a cuboid and a convex shape implementing the SupportMap
trait.
Only the normals of cube1
are tested.