linearly v0.32.0Docs


linearly v0.32.0 / vec3 / smoothstep

Function: smoothstep()

smoothstep(edge0, edge1, x): vec3

Perform Hermite interpolation between two values.

Parameters

edge0: vec3

Lower edge of the Hermite function.

edge1: vec3

Upper edge of the Hermite function.

x: vec3

Source value for interpolation.

Returns

vec3

See

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

Defined in

src/vec3.ts:832open in new window