summaryrefslogtreecommitdiff
path: root/instructions.html
diff options
context:
space:
mode:
authortimb <opuscule@gmail.com>2014-01-14 23:33:59 -0800
committertimb <opuscule@gmail.com>2014-01-14 23:33:59 -0800
commit282657a4beb7c78c4420c6b8268d8d929fe6a670 (patch)
tree301ef482e35bec558339287942f9334ef9b5e8c1 /instructions.html
parent5242f387995b6251ff1bf7902b3ac6428f381fb0 (diff)
reorder smoothstep args, add julestep fn back
Diffstat (limited to 'instructions.html')
-rw-r--r--instructions.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/instructions.html b/instructions.html
index fb522c0..dff99d8 100644
--- a/instructions.html
+++ b/instructions.html
@@ -30,7 +30,7 @@ E, PI, PHI
clamp(n,min,max)
mix(n,a,b) (lerp)
step(a,b)
-smoothstep(n,a,b)
+smoothstep(min,max,n)
avg(m,n,a)
cosp, sinp (mapped to [0,1])
pixel(x,y) == 4*(y*w+h)