lerp

fun lerp(other: Vector2f, amount: Float): Vector2f(source)

Linear interpolation; amounts outside 0..1 extrapolate.