Skip to main content

lerp

Function lerp 

Source
pub fn lerp(a: Vec2, b: Vec2, t: f64) -> Vec2
Expand description

Linear interpolation a + t * (b - a).