parry3d::query::closest_points

Function closest_points_convex_polyhedron_ball

source
pub fn closest_points_convex_polyhedron_ball(
    pos12: &Isometry<f32>,
    shape1: &(impl Shape + ?Sized),
    ball2: &Ball,
    prediction: f32,
) -> ClosestPoints
Expand description

ClosestPoints between a convex polyhedron and a ball.

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