parry3d::query::sat

Function cuboid_cuboid_find_local_separating_edge_twoway

source
pub fn cuboid_cuboid_find_local_separating_edge_twoway(
    cuboid1: &Cuboid,
    cuboid2: &Cuboid,
    pos12: &Isometry<f32>,
) -> (f32, Vector<f32>)
Expand description

Finds the best separating edge between two cuboids.

All combinations of edges from both cuboids are taken into account.