parry3d::query::details

Function distance_ball_convex_polyhedron

source
pub fn distance_ball_convex_polyhedron(
    pos12: &Isometry<f32>,
    ball1: &Ball,
    shape2: &(impl Shape + ?Sized),
) -> f32
Expand description

Distance between a ball and a convex polyhedron.

This function panics if the input shape does not implement both the ConvexPolyhedron and PointQuery traits.