adamschackart / AXLE3D

A modular collection of game libraries for Python and/or C++.
20 stars 1 forks source link

ease option wherever there's a lerp #46

Open adamschackart opened 6 years ago

adamschackart commented 6 years ago

For more (un)natural animations, we should also provide an ease function wherever we provide a lerp function. In cases like mesh or particle interpolation where we ease a large array of floats, we can use the SSE lerp path for linear easing. For more "scalar" things like materials, lerp can just call linear ease.