Function ncollide2d::bounding_volume::local_bounding_sphere
source · [−]pub fn local_bounding_sphere<N, G: ?Sized>(g: &G) -> BoundingSphere<N> where
N: RealField + Copy,
G: HasBoundingVolume<N, BoundingSphere<N>>,
Expand description
Computes the bounding sphere of a shape g
.
Same as g.local_bounding_sphere(m)
.