linearly v0.32.0Docs


linearly v0.32.0 / vec4 / smoothstep

Function: smoothstep()

smoothstep(edge0, edge1, x): vec4

Perform Hermite interpolation between two values.

Parameters

edge0: vec4

Lower edge of the Hermite function.

edge1: vec4

Upper edge of the Hermite function.

x: vec4

Source value for interpolation.

Returns

vec4

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/smoothstep.xhtmlopen in new window

Defined in

src/vec4.ts:711open in new window