Smoothly interpolate a number from x toward y in a spring-like manner using the dt to maintain frame rate independent movement. For details, see Frame rate independent damping using lerp. http://www.rorydriscoll.com/2016/03/07/frame-rate-independent-damping-using-lerp/
Input current point.
Input target point.
A higher lambda value will make the movement more sudden, and a lower value will make the movement more gradual.
Input delta time in seconds.
Return a number from x toward y
Smoothly interpolate a number from x toward y in a spring-like manner using the dt to maintain frame rate independent movement. For details, see Frame rate independent damping using lerp. http://www.rorydriscoll.com/2016/03/07/frame-rate-independent-damping-using-lerp/