parry3d::query::sat

Function cuboid_triangle_find_local_separating_edge_twoway

source
pub fn cuboid_triangle_find_local_separating_edge_twoway(
    cube1: &Cuboid,
    triangle2: &Triangle,
    pos12: &Isometry<f32>,
) -> (f32, Vector<f32>)
Expand description

Finds the best separating edge between a cuboid and a triangle.

All combinations of edges from the cuboid and the triangle are taken into account.