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