Function response

Source
pub fn response(rate: f32, dt: f32) -> f32
Expand description

Exponential approach weight, independent of render cadence. Invalid or nonpositive intervals/rates do no work; callers still own their fixed clock.