qb64-include/lerp.bm

3 lines
71 B
Text
Raw Normal View History

2022-03-18 18:33:58 +01:00
Function Lerp (v0, v1, t)
Lerp = (1 - t) * v0 + t * v1
End Function