Function heron::rapier_plugin::rapier3d::parry::mass_properties::details::tetrahedron_unit_inertia_tensor_wrt_point
source · pub fn tetrahedron_unit_inertia_tensor_wrt_point(
point: &OPoint<f32, Const<3>>,
p1: &OPoint<f32, Const<3>>,
p2: &OPoint<f32, Const<3>>,
p3: &OPoint<f32, Const<3>>,
p4: &OPoint<f32, Const<3>>
) -> Matrix<f32, Const<3>, Const<3>, ArrayStorage<f32, 3, 3>>
Expand description
Computes the unit inertia tensor of a tetrahedron, with regard to the given point
.