Skip to main content

is_valid_restitution

Function is_valid_restitution 

Source
pub fn is_valid_restitution(coefficient_of_restitution: f64) -> bool
Expand description

Returns true when a restitution coefficient is finite and within [0.0, 1.0].