[][src]Function box2d_rs::b2_contact::b2_mix_restitution

pub fn b2_mix_restitution(restitution1: f32, restitution2: f32) -> f32

Restitution mixing law. The idea is allow for anything to bounce off an inelastic surface. For example, a superball bounces on anything.