Calculate inertial parameters from a mesh

That paper is behind a paywall.
The code however is on a Github repository https://github.com/erich666/jgt-code
The code is 74 lines
https://github.com/erich666/jgt-code/blob/master/Volume_11/Number_2/Kallay2006/Moment_of_Inertia.cpp