phys-inertia 2.0.0

Provides inertia computation ability
Documentation

About The Project

This crate implements the calculation of inertia tensors for common geometric shapes

Usage

// compute the inertia tensor of a cube with length = 0.5 and mass = 1.0
let inertia:Vec3 = inertia::cube(0.5);

License

See LICENSE file.