Function heron::rapier_plugin::rapier::parry::mass_properties::details::convex_mesh_volume_and_center_of_mass_unchecked [−][src]
pub fn convex_mesh_volume_and_center_of_mass_unchecked(
vertices: &[Point<f32, 3_usize>],
indices: &[[u32; 3]]
) -> (f32, Point<f32, 3_usize>)
Computes the volume and conter-of-mass of a mesh assumed to be convex.