linearly v0.32.0Docs


linearly v0.32.0 / vec3 / step

Function: step()

step(edge, v): vec3

Apply a step function by comparing two values

Parameters

edge: number | vec3

The location of the edge of the step function.

v: vec3

Returns

vec3

See

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

Defined in

src/vec3.ts:814open in new window