# Polyhedral Mass Properties Calculates the mass properties (mass, center of mass and inertia matrix/tensor) of triangle meshes. The algorithm is based on the paper ["Computing the Moment of Inertia of a Solid Defined by a Triangle Mesh"](https://doi.org/10.1080/2151237X.2006.10129220) by Michael Kallay ([Code](https://github.com/erich666/jgt-code/blob/master/Volume_11/Number_2/Kallay2006/Moment_of_Inertia.cpp)). ## Documentation Documentation with examples is available on [**docs.rs**](https://docs.rs/polyhedral_mass_properties) 📚️ ## Demo binary The binary [`mass-props`](https://crates.io/crates/mass-props) uses this library to calculate the mass properties of meshes in glTF files. You can try it out to test the output of this library.