Function rin_core::scene::physics::rigidbody::geometry_sphere_and_offset[][src]

pub fn geometry_sphere_and_offset<V>(mesh: &Mesh<V>) -> Option<(Shape, Offset)> 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>,