Returns pi.
Returns the remainder of x / y.
Returns sin(x).
Returns sin^-1(x).
Returns cos(x).
Returns cos^-1(x).
Returns tan(x).
Returns tan^-1(x).
Returns tan^-1(y/x), mapped into the range [-pi, pi]
Returns the absolute value of x.
Returns e^x.
Returns x^y.
Returns x^1/2.
Returns the natural logarithm of x, ln(x).
Returns the largest integer y, such that x >= y.
Returns the smallest integer y, such that x <= y.
Returns x – floor(x).
Returns floor(x) converted to an integer.
Returns ceil(x) converted to an integer.
Converts x to type real.
If x < y, returns x, otherwise returns y.
In the case of vec2 or vec3 arguments, the comparison is done component-wise.
If x > y, returns x, otherwise returns y.
In the case of vec2 or vec3 arguments, the comparision is done component-wise.
Returns x * (1 – t) + y * t
Returns max(minval, min(maxval, x)).
In the case of vec2 or vec3 arguments, the clamping is done component-wise.
Undefined if minval > maxval.
Returns 1 if x >= step_x, 0 otherwise.
Returns 0 if x <= a, 1 if x >= b, and interpolates smoothly between 0 and 1 as x ranges from a to b.
Like smoothstep but smoother.
0 if x < a or x > b, 1 otherwise.
0 when x < a, smoothly interpolates up to 1 when x is between a and b, 1 between b and c, smoothly interpolates down to 0 when x is between c and d. 0 when x > d.