diff options
| author | Will Vincent | 2018-04-15 11:40:31 -0500 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-04-28 22:47:43 +0200 |
| commit | d49fc76ab8d2a5f7b315cae13d80b83ceea5cf40 (patch) | |
| tree | d2e3572d0793e6297e6c263f80d077c89a9eb79d /modules/visual_script/doc_classes/VisualScriptMathConstant.xml | |
| parent | d89015cfe30a35f8268a88d1e09ccb79570816e7 (diff) | |
| download | godot-d49fc76ab8d2a5f7b315cae13d80b83ceea5cf40.tar.gz godot-d49fc76ab8d2a5f7b315cae13d80b83ceea5cf40.tar.zst godot-d49fc76ab8d2a5f7b315cae13d80b83ceea5cf40.zip | |
Remove incorrect & potentially confusing references to Euler
e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion.
e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid.
(cherry picked from commit b6b8c7b21564672ad5e2e96eb95b857c73404b44)
Diffstat (limited to 'modules/visual_script/doc_classes/VisualScriptMathConstant.xml')
| -rw-r--r-- | modules/visual_script/doc_classes/VisualScriptMathConstant.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/visual_script/doc_classes/VisualScriptMathConstant.xml b/modules/visual_script/doc_classes/VisualScriptMathConstant.xml index 6111e270b..af66e8234 100644 --- a/modules/visual_script/doc_classes/VisualScriptMathConstant.xml +++ b/modules/visual_script/doc_classes/VisualScriptMathConstant.xml @@ -4,7 +4,7 @@ Commonly used mathematical constants. </brief_description> <description> - Provides common math constants, such as Pi or Euler's constant, on an output Data port. + Provides common math constants, such as Pi, on an output Data port. [b]Input Ports:[/b] none [b]Output Ports:[/b] @@ -35,7 +35,7 @@ Tau: [code]6.283185[/code] </constant> <constant name="MATH_CONSTANT_E" value="4" enum="MathConstant"> - Natural log: [code]2.718282[/code] + Mathematical constant [code]e[/code], the natural log base: [code]2.718282[/code] </constant> <constant name="MATH_CONSTANT_SQRT2" value="5" enum="MathConstant"> Square root of two: [code]1.414214[/code] |
