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