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