linearly v0.32.0 • Docs
linearly v0.32.0 / vec2 / lerp
Function: lerp()
lerp(
a
,b
,t
):vec2
Linearly interpolate between two numbers. Same as GLSL’s bulit-in mix
function.
Parameters
• a: vec2
• b: vec2
• t: number
| vec2
Returns
See
https://registry.khronos.org/OpenGL-Refpages/gl4/html/mix.xhtml