Function rin::scene::physics::rigidbody::geometry_bounding_sphere[][src]

pub fn geometry_bounding_sphere<V>(
    mesh: &Mesh<V>
) -> Option<BoundingSphere<f32>> where
    V: Vertex,
    <V as Vertex>::Position: Swizzles3<f32>,
    <<V as Vertex>::Position as Swizzles3<f32>>::Swizzle3 == Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>,