Function rerun::demo_util::bounce_lerp
source · pub fn bounce_lerp<T>(
a: T,
b: T,
t: f32
) -> <<f32 as Mul<T>>::Output as Add>::Output
Expand description
A linear interpolator that bounces between a
and b
as t
goes above 1.0
.