Function heron::rapier_plugin::rapier3d::parry::mass_properties::details::convex_mesh_volume_and_center_of_mass_unchecked[][src]

pub fn convex_mesh_volume_and_center_of_mass_unchecked(
    vertices: &[OPoint<f32, Const<3_usize>>],
    indices: &[[u32; 3]]
) -> (f32, OPoint<f32, Const<3_usize>>)
Expand description

Computes the volume and conter-of-mass of a mesh assumed to be convex.