parry3d::query::sat

Function cuboid_support_map_compute_separation_wrt_local_line

source
pub fn cuboid_support_map_compute_separation_wrt_local_line(
    cube1: &Cuboid,
    shape2: &impl SupportMap,
    pos12: &Isometry<f32>,
    axis1: &Unit<Vector<f32>>,
) -> (f32, Unit<Vector<f32>>)
Expand description

Computes the separation between a cuboid an a convex shape implementing the SupportMap trait, along the given axis.