trimesh_area_and_center_of_mass

Function trimesh_area_and_center_of_mass 

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

Computes the area and center-of-mass of a triangle-mesh.