Skip to main content

damp

Function damp 

pub fn damp(
    current: f32,
    target: f32,
    velocity: &mut f32,
    smooth_time: f32,
    damping: f32,
    delta_time: f32,
) -> f32