diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-13 12:35:54 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-13 12:37:01 +0200 |
commit | 9b31d2da1c20807928ac2aea41a187184f9ee051 (patch) | |
tree | b4c32daee34d97aaf6d8d0406dbe4ac85b80fa30 /scene/animation/tween_interpolaters.cpp | |
parent | ae8f984cf37210ebd0667bcaa2e80e947efc4841 (diff) | |
download | redot-engine-9b31d2da1c20807928ac2aea41a187184f9ee051.tar.gz |
Document provenance of Penner easing equations in Tween
As noted in #21600.
Diffstat (limited to 'scene/animation/tween_interpolaters.cpp')
-rw-r--r-- | scene/animation/tween_interpolaters.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scene/animation/tween_interpolaters.cpp b/scene/animation/tween_interpolaters.cpp index 11f2b0c17f..52aa7403c0 100644 --- a/scene/animation/tween_interpolaters.cpp +++ b/scene/animation/tween_interpolaters.cpp @@ -28,6 +28,12 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ +/** + * Adapted from Penner Easing equations' C++ port. + * Source: https://github.com/jesusgollonet/ofpennereasing + * License: BSD-3-clause + */ + #include "tween.h" const real_t pi = 3.1415926535898; |