smoothStep
smoothStep(edge0, edge1, x) ⇒ number
Adapted from OpenGL spec smoothstep performs smooth Hermite interpolation between 0 and 1 when edge0 < x < edge1. This is useful in cases where a threshold function with a smooth transition is desired.
Kind: global function
See: https://en.wikipedia.org/wiki/Smoothstep
| Param | Type |
|---|---|
| edge0 | number |
| edge1 | number |
| x | number |