linearly v0.32.0Docs


linearly v0.32.0 / vec4 / step

Function: step()

step(edge, v): vec4

Apply a step function by comparing two values

Parameters

edge: number | vec4

The location of the edge of the step function.

v: vec4

Returns

vec4

See

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

Defined in

src/vec4.ts:692open in new window