Function heron::rapier_plugin::rapier3d::parry::query::details::distance_ball_convex_polyhedron [−][src]
pub fn distance_ball_convex_polyhedron(
pos12: &Isometry<f32, Unit<Quaternion<f32>>, 3_usize>,
ball1: &Ball,
shape2: &impl Shape
) -> 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.