parry3d::query::sat

Function cuboid_support_map_find_local_separating_normal_oneway

source
pub fn cuboid_support_map_find_local_separating_normal_oneway<S: SupportMap>(
    cube1: &Cuboid,
    shape2: &S,
    pos12: &Isometry<f32>,
) -> (f32, Vector<f32>)
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.