Reinder Nijhoff
Reinder Nijhoff
Thank you @fangzhangmnm for these fixes!
Hi, Yes you're right. I had to switch from OpenGL ES 2.0 to OpenGL ES 3.0. That's because OpenGL ES 3.0 has (almost) the same syntax as WebGL 2 which...
Yes, I will add this functionality in a future update of the app.
Taking the pow of a negative number is different than calling smoothstep with edge1 < edge0, as the pow of negative numbers is, in general, not defined for real numbers....
That's also fine for me, as long as I can use smoothstep with edge1 < edge0 :)
> If I look at the definitions I see if edge0 === edge1 then the results are clearly NaN as there is division by 0. > > It looks like...
If you look at the definition of smoothstep, it is clear that results are undefined when ege0 > edge1 for _unsigned_ variable types when ege0 > edge1. For signed types,...
> I think these are good arguments: > > * You're right, the function makes sense with edge0 > edge1. It just traverses the curve backward. > * It saves...