Trait ncollide2df64::volumetric::Volumetric
pub trait Volumetric { fn mass_properties(&self, &N) -> (N, V, II); }
Trait to be implemented by objects which have a mass, a center of mass, and an inverse inertia tensor.
Required Methods
fn mass_properties(&self, &N) -> (N, V, II)
Given a density, this computes the mass, center of mass, and inertia tensor of this object.