summaryrefslogtreecommitdiffstats
path: root/doc/classes/VisualScriptMathConstant.xml
diff options
context:
space:
mode:
authorGoutte <antoine.goutenoir@gmail.com>2017-11-04 10:34:27 +0100
committerGoutte <antoine.goutenoir@gmail.com>2017-11-12 13:32:35 +0100
commit91ca725f9b5a4a77ca70024e3bb73b7c7821a530 (patch)
tree25e9405df87017425863586ae8ab3f6c756577c5 /doc/classes/VisualScriptMathConstant.xml
parentc1855dcff14a118828de16e850b0698dc76b25e9 (diff)
downloadredot-engine-91ca725f9b5a4a77ca70024e3bb73b7c7821a530.tar.gz
Add support for the TAU constant. Fixes #12094.
Diffstat (limited to 'doc/classes/VisualScriptMathConstant.xml')
-rw-r--r--doc/classes/VisualScriptMathConstant.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/VisualScriptMathConstant.xml b/doc/classes/VisualScriptMathConstant.xml
index 86744e5caf..c753c16218 100644
--- a/doc/classes/VisualScriptMathConstant.xml
+++ b/doc/classes/VisualScriptMathConstant.xml
@@ -42,12 +42,12 @@
<constant name="MATH_CONSTANT_PI" value="1">
Pi: [code]3.141593[/code]
</constant>
- <constant name="MATH_CONSTANT_2PI" value="2">
- Pi times two: [code]6.283185[/code]
- </constant>
- <constant name="MATH_CONSTANT_HALF_PI" value="3">
+ <constant name="MATH_CONSTANT_HALF_PI" value="2">
Pi divided by two: [code]1.570796[/code]
</constant>
+ <constant name="MATH_CONSTANT_TAU" value="3">
+ Tau: [code]6.283185[/code]
+ </constant>
<constant name="MATH_CONSTANT_E" value="4">
Natural log: [code]2.718282[/code]
</constant>