parry3d::query::sat

Function cuboid_support_map_find_local_separating_edge_twoway

source
pub fn cuboid_support_map_find_local_separating_edge_twoway(
    cube1: &Cuboid,
    shape2: &impl SupportMap,
    axes: &[Vector<f32>],
    pos12: &Isometry<f32>,
) -> (f32, Vector<f32>)
Expand description

Finds the best separating edge between a cuboid and a convex shape implementing the Supportmap trait.

Only the axes given by axes are tested.