Graphmath.Vec2.lerp
You're seeing just the function
lerp, go back to Graphmath.Vec2 module for more information.
Link to this function
lerp(a, b, t)
Specs
lerp(a,b,t) is used to linearly interpolate between two given vectors a and b along an interpolant t.
The interpolant t is on the domain [0,1]. Behavior outside of that is undefined.
lerp(a,b,t) linearly interpolates between one vec2 and another vec2 along an interpolant.
a is the starting vec2.
b is the ending vec2.
t is the interpolant float, on the domain [0,1].
It returns a vec2 of the form (1-t)a - (t)b.
The interpolant t is on the domain [0,1]. Behavior outside of that is undefined.