# | Line 67 | Line 67 | noise3d(i,x,y,z) = select(i, noise3a(x,y,z), noise3b(x | |
---|---|---|
67 | bound(a,x,b) : if(a-x, a, if(x-b, b, x)); | |
68 | Acos(x) : acos(bound(-1,x,1)); | |
69 | Asin(x) : asin(bound(-1,x,1)); | |
70 | + | Atan2(y,x) : if(x*x+y*y, atan2(y,x), 0); |
71 | Exp(x) : if(-x-100, 0, exp(x)); | |
72 | Sqrt(x) : if(x, sqrt(x), 0); | |
73 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |