Graphmath.Vec3.lerp

You're seeing just the function lerp, go back to Graphmath.Vec3 module for more information.

Specs

lerp(vec3(), vec3(), float()) :: vec3()

lerp(a,b,t) linearly interpolates between one vec3 and another vec3 along an interpolant.

a is the starting vec3.

b is the ending vec3.

t is the interpolant float, on the domain [0,1].

It returns a vec3 of the form (1-t)a - (t)b.

The interpolant t is on the domain [0,1]. Behavior outside of that is undefined.