linearly v0.32.0 • Docs
linearly v0.32.0 / vec2 / smoothstep
Function: smoothstep()
smoothstep(
edge0
,edge1
,x
):number
[]
Perform Hermite interpolation between two values.
Parameters
• edge0: vec2
Lower edge of the Hermite function.
• edge1: vec2
Upper edge of the Hermite function.
• x: vec2
Source value for interpolation.
Returns
number
[]
See
https://registry.khronos.org/OpenGL-Refpages/gl4/html/smoothstep.xhtml