logo

Function theon::lerp

source · []
pub fn lerp<T>(a: T, b: T, f: R64) -> T where
    T: Num + NumCast
Expand description

Linearly interpolates between two values.