Function heron::rapier_plugin::rapier3d::parry::query::sat::cuboid_support_map_compute_separation_wrt_local_line [−][src]
pub fn cuboid_support_map_compute_separation_wrt_local_line(
cube1: &Cuboid,
shape2: &impl SupportMap,
pos12: &Isometry<f32, Unit<Quaternion<f32>>, 3_usize>,
axis1: &Unit<Matrix<f32, Const<{_: usize}>, Const<1_usize>, ArrayStorage<f32, 3_usize, 1_usize>>>
) -> (f32, Unit<Matrix<f32, Const<{_: usize}>, Const<1_usize>, ArrayStorage<f32, 3_usize, 1_usize>>>)
Expand description
Computes the separation between a cuboid an a convex shape implementing the SupportMap
trait,
along the given axis.