ncollide3d::bounding_volume

Function point_cloud_bounding_sphere_with_center

Source
pub fn point_cloud_bounding_sphere_with_center<N: RealField + Copy>(
    pts: &[Point<N>],
    center: Point<N>,
) -> (Point<N>, N)
Expand description

Computes the bounding sphere of a set of point, given its center.