Skip to main content

inertia_tensor_cone

Function inertia_tensor_cone 

Source
pub fn inertia_tensor_cone(mass: f32, radius: f32, height: f32) -> Mat4
Expand description

Compute inertia tensor for a solid cone aligned along Y axis Ixx = Izz = (3/80)m(4*r^2 + h^2), Iyy = (3/10)mr^2