Function heron::rapier_plugin::rapier3d::parry::query::details::distance_convex_polyhedron_ball [−][src]
pub fn distance_convex_polyhedron_ball(
pos12: &Isometry<f32, Unit<Quaternion<f32>>, 3_usize>,
shape1: &impl Shape,
ball2: &Ball
) -> f32
Expand description
Distance between a convex polyhedron and a ball.
This function panics if the input shape does not implement both the ConvexPolyhedron and PointQuery traits.