diff options
| author | timb <opuscule@gmail.com> | 2014-01-13 22:11:45 -0800 |
|---|---|---|
| committer | timb <opuscule@gmail.com> | 2014-01-13 22:11:45 -0800 |
| commit | 5242f387995b6251ff1bf7902b3ac6428f381fb0 (patch) | |
| tree | 15011b43f8e770096a98ee1cba30f993ff9049e2 /instructions.html | |
| parent | 9401ffc256bc39dc085ebea21de4942083219b88 (diff) | |
make step work like in glsl... step(a,b) returns 0 if b < a, 1 otherwise
Diffstat (limited to 'instructions.html')
| -rw-r--r-- | instructions.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instructions.html b/instructions.html index 2767e48..fb522c0 100644 --- a/instructions.html +++ b/instructions.html @@ -29,7 +29,7 @@ E, PI, PHI <u>convenience functions</u> clamp(n,min,max) mix(n,a,b) (lerp) -step(n,a,b) +step(a,b) smoothstep(n,a,b) avg(m,n,a) cosp, sinp (mapped to [0,1]) |
