Expand description
Quartic Smoothstep (C1 continuity).
From Inigo Quilez: https://iquilezles.org/articles/smoothsteps/
Uses only even powers of x, which is useful when x represents distance (avoiding square roots in distance calculations).
- Quartic:
x²(2-x²)- the smoothstep function - InvQuartic:
sqrt(1-sqrt(1-x))- the inverse function
Structs§
- InvQuartic
- Inverse Quartic Smoothstep:
sqrt(1-sqrt(1-x)) - Quartic
- Quartic Smoothstep:
x²(2-x²)