Function nphysics2d::volumetric::cuboid_volume [] [src]

pub fn cuboid_volume<V: Vector>(half_extents: &V) -> V::Real

The volume of a cuboid.