Function libadwaita::lerp

source ·
pub fn lerp(a: f64, b: f64, t: f64) -> f64
Expand description

Computes the linear interpolation between @a and @b for @t.

§a

the start

§b

the end

§t

the interpolation rate

§Returns

the computed value