pub trait MassPropertiesExt {
// Required method
fn to_bundle(&self) -> MassPropertiesBundle;
}
Expand description
An extension trait for MassProperties
.
Required Methods§
sourcefn to_bundle(&self) -> MassPropertiesBundle
fn to_bundle(&self) -> MassPropertiesBundle
Converts the MassProperties
to a MassPropertiesBundle
containing the Mass
, AngularInertia
, and CenterOfMass
components.