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