GLSL step for all values of a vector
Edges of the step function
Value used to generate the step function
Target for storing the results (Default: edges)
results for each value in edges
step([0, 1, 2, 3], 1.5, new Array(4)); // Returns: [1, 1, 0, 0] Copy
step([0, 1, 2, 3], 1.5, new Array(4)); // Returns: [1, 1, 0, 0]
Generated using TypeDoc
GLSL step for all values of a vector