diff options
| author | Goutte | 2017-11-04 10:34:27 +0100 |
|---|---|---|
| committer | Goutte | 2017-11-12 13:32:35 +0100 |
| commit | 91ca725f9b5a4a77ca70024e3bb73b7c7821a530 (patch) | |
| tree | 25e9405df87017425863586ae8ab3f6c756577c5 /modules/gdscript/gd_script.cpp | |
| parent | c1855dcff14a118828de16e850b0698dc76b25e9 (diff) | |
| download | godot-91ca725f9b5a4a77ca70024e3bb73b7c7821a530.tar.gz godot-91ca725f9b5a4a77ca70024e3bb73b7c7821a530.tar.zst godot-91ca725f9b5a4a77ca70024e3bb73b7c7821a530.zip | |
Diffstat (limited to 'modules/gdscript/gd_script.cpp')
| -rw-r--r-- | modules/gdscript/gd_script.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp index 3f3818ffb..e5016c59b 100644 --- a/modules/gdscript/gd_script.cpp +++ b/modules/gdscript/gd_script.cpp @@ -1324,6 +1324,7 @@ void GDScriptLanguage::init() { } _add_global(StaticCString::create("PI"), Math_PI); + _add_global(StaticCString::create("TAU"), Math_TAU); _add_global(StaticCString::create("INF"), Math_INF); _add_global(StaticCString::create("NAN"), Math_NAN); @@ -1700,6 +1701,7 @@ void GDScriptLanguage::get_reserved_words(List<String> *p_words) const { "bool", "null", "PI", + "TAU", "INF", "NAN", "self", |
