Function veloren_common_systems::phys::fluid_density

source ยท
fn fluid_density(height: f32, fluid: &Fluid) -> Density
Expand description

The density of the fluid as a function of submersion ratio in given fluid where it is assumed that any unsubmersed part is is air.