Function heron::rapier_plugin::rapier::parry::mass_properties::details::tetrahedron_unit_inertia_tensor_wrt_point[][src]

pub fn tetrahedron_unit_inertia_tensor_wrt_point(
    point: &Point<f32, 3_usize>,
    p1: &Point<f32, 3_usize>,
    p2: &Point<f32, 3_usize>,
    p3: &Point<f32, 3_usize>,
    p4: &Point<f32, 3_usize>
) -> Matrix<f32, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<f32, 3_usize, 3_usize>>

Computes the unit inertia tensor of a tetrahedron, with regard to the given point.