lerp

fnfloat lerp(float from, float to, float weight)

Returns the linear interpolation between from and to by weight. A weight of 0 returns from, a weight of 1 returns to.

fnVec2 lerp(Vec2 from, Vec2 to, float weight)

Returns the linear interpolation between from and to by weight, applied per component.

fnVec3 lerp(Vec3 from, Vec3 to, float weight)

Returns the linear interpolation between from and to by weight, applied per component.

fnVec4 lerp(Vec4 from, Vec4 to, float weight)

Returns the linear interpolation between from and to by weight, applied per component.