|
inlinestaticconstexpr |
Elastic ease-in interpolation for spring-like motion.
Implements elastic easing with configurable period and amplitude. Uses quadratic approximation of sine for efficiency.
The easing produces this motion:
Common uses:
start | Starting value of the interpolation |
end | Ending value of the interpolation |
t | Interpolation factor in range [0,1] |