[−][src]Function ncollide2d::bounding_volume::bounding_sphere
pub fn bounding_sphere<N, G: ?Sized>(
g: &G,
m: &Isometry<N>
) -> BoundingSphere<N> where
N: RealField,
G: HasBoundingVolume<N, BoundingSphere<N>>,
Computes the bounding sphere of a shape g
transformed by m
.
Same as g.bounding_sphere(m)
.