trimesh_signed_volume_and_center_of_mass

Function trimesh_signed_volume_and_center_of_mass 

Source
pub fn trimesh_signed_volume_and_center_of_mass(
    vertices: &[Vector],
    indices: &[[u32; 3]],
) -> (f32, Vector)
Expand description

Computes the volume and center-of-mass of a mesh.