Skip to main content

inertia_parallel_axis

Function inertia_parallel_axis 

Source
pub fn inertia_parallel_axis(i_cm: Mat4, mass: f32, displacement: Vec3) -> Mat4
Expand description

Parallel axis theorem: shift inertia tensor by displacement d I_new = I_cm + m*(|d|^2I3 - dd^T)