parry3d::query::sat

Function triangle_cuboid_find_local_separating_normal_oneway

source
pub fn triangle_cuboid_find_local_separating_normal_oneway(
    triangle1: &Triangle,
    shape2: &Cuboid,
    pos12: &Isometry<f32>,
) -> (f32, Vector<f32>)
Expand description

Finds the best separating normal a triangle and a cuboid.

Only the normals of triangle1 are tested.