parry3d::query::sat

Function cuboid_cuboid_compute_separation_wrt_local_line

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

Computes the separation of two cuboids along axis1.