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" by Michael Kallay (Code).
Documentation
Documentation with examples is available on docs.rs 📚️
Demo binary
The binary 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.