parry3d::query::sat

Function support_map_support_map_compute_separation

source
pub fn support_map_support_map_compute_separation(
    sm1: &impl SupportMap,
    sm2: &impl SupportMap,
    pos12: &Isometry<f32>,
    dir1: &Unit<Vector<f32>>,
) -> f32
Expand description

Computes the separation along the given direction, between two convex shapes implementing the SupportMap trait.