Trait rhusics_core::Volume

source ·
pub trait Volume<S, I> {
    fn get_mass(&self, material: &Material) -> Mass<S, I>;
}
Expand description

Describe a shape with volume

Type parameters:

  • I: Inertia type, see Inertia for more information

Required Methods

Compute the mass of the shape based on its material

Implementations on Foreign Types

Implementors