[][src]Function oxygengine_physics_2d::prelude::ncollide2d::bounding_volume::bounding_sphere

pub fn bounding_sphere<N, G>(
    g: &G,
    m: &Isometry<N, U2, Unit<Complex<N>>>
) -> BoundingSphere<N> where
    G: HasBoundingVolume<N, BoundingSphere<N>> + ?Sized,
    N: RealField

Computes the bounding sphere of a shape g transformed by m.

Same as g.bounding_sphere(m).