summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-09-13 12:35:54 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-09-13 12:37:01 +0200
commit9b31d2da1c20807928ac2aea41a187184f9ee051 (patch)
treeb4c32daee34d97aaf6d8d0406dbe4ac85b80fa30
parentae8f984cf37210ebd0667bcaa2e80e947efc4841 (diff)
Document provenance of Penner easing equations in Tween
As noted in #21600.
-rw-r--r--COPYRIGHT.txt5
-rw-r--r--scene/animation/tween_interpolaters.cpp6
2 files changed, 11 insertions, 0 deletions
diff --git a/COPYRIGHT.txt b/COPYRIGHT.txt
index 49c602eb84..cf08225a40 100644
--- a/COPYRIGHT.txt
+++ b/COPYRIGHT.txt
@@ -96,6 +96,11 @@ Copyright: 1997-2017, Sam Lantinga
2014-2018, Godot Engine contributors.
License: Expat and Zlib
+Files: ./scene/animation/tween_interpolaters.cpp
+Comment: Penner Easing
+Copyright: 2001, Robert Penner
+License: BSD-3-clause
+
Files: ./servers/physics/gjk_epa.cpp
./servers/physics/joints/generic_6dof_joint_sw.cpp
./servers/physics/joints/generic_6dof_joint_sw.h
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;