summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-02-13 10:34:13 +0100
committerGitHub <noreply@github.com>2022-02-13 10:34:13 +0100
commit72243894681f16c51d8848b4aeea1518d595c2a2 (patch)
tree419b35e9edf306db96f092118539e4dd667edfe3 /doc/classes
parentaa069a4d31c3eda2a5e194d825e2da795f2cca60 (diff)
parent865da09871b0242471e7426ed54e9815193df5ae (diff)
Merge pull request #57954 from TokageItLab/refactor-cubic-interpolate
Implement `cubic_interpolate()` as MathFunc for refactoring
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/@GlobalScope.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml
index 4c0f89f14d..93439b82f9 100644
--- a/doc/classes/@GlobalScope.xml
+++ b/doc/classes/@GlobalScope.xml
@@ -221,6 +221,17 @@
[/codeblock]
</description>
</method>
+ <method name="cubic_interpolate">
+ <return type="float" />
+ <argument index="0" name="from" type="float" />
+ <argument index="1" name="to" type="float" />
+ <argument index="2" name="pre" type="float" />
+ <argument index="3" name="post" type="float" />
+ <argument index="4" name="weight" type="float" />
+ <description>
+ Cubic interpolates between two values by the factor defined in [code]weight[/code] with pre and post values.
+ </description>
+ </method>
<method name="db2linear">
<return type="float" />
<argument index="0" name="db" type="float" />