|
inlinestaticconstexpr |
Smoothstep interpolation for smooth acceleration and deceleration.
Implements Ken Perlin's smoothstep function using the formula: 3t² - 2t³
The smoothstep produces this behavior:
Common uses:
| start | Starting value of the interpolation |
| end | Ending value of the interpolation |
| t | Interpolation factor, automatically clamped to [0,1] |