diff options
| author | Saracen | 2017-02-06 22:44:22 +0000 |
|---|---|---|
| committer | Saracen | 2017-02-28 21:52:33 +0000 |
| commit | 5e938f000136c076f9f35b8332dc7c022687a983 (patch) | |
| tree | a8e79b3f4a557ce4097791f5622728c69d22764f /modules/visual_script/visual_script_nodes.cpp | |
| parent | 0f8c6dd3822c38b8145f08265abb9eba479f4d15 (diff) | |
| download | godot-5e938f000136c076f9f35b8332dc7c022687a983.tar.gz godot-5e938f000136c076f9f35b8332dc7c022687a983.tar.zst godot-5e938f000136c076f9f35b8332dc7c022687a983.zip | |
Diffstat (limited to 'modules/visual_script/visual_script_nodes.cpp')
| -rw-r--r-- | modules/visual_script/visual_script_nodes.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_nodes.cpp b/modules/visual_script/visual_script_nodes.cpp index d1ee5be37..f01284feb 100644 --- a/modules/visual_script/visual_script_nodes.cpp +++ b/modules/visual_script/visual_script_nodes.cpp @@ -1738,6 +1738,8 @@ const char* VisualScriptMathConstant::const_name[MATH_CONSTANT_MAX]={ "PI/2", "E", "Sqrt2", + "INF", + "NAN" }; double VisualScriptMathConstant::const_value[MATH_CONSTANT_MAX]={ @@ -1746,7 +1748,9 @@ double VisualScriptMathConstant::const_value[MATH_CONSTANT_MAX]={ Math_PI*2, Math_PI*0.5, 2.71828182845904523536, - Math::sqrt(2.0) + Math::sqrt(2.0), + Math_INF, + Math_NAN }; |
