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