Skip to main content

box_inertia

Function box_inertia 

Source
pub fn box_inertia(mass: f32, half_extents: Vec3) -> f32
Expand description

Mean of the principal-axis tensor’s diagonal; exact for a cube.