From 91ca725f9b5a4a77ca70024e3bb73b7c7821a530 Mon Sep 17 00:00:00 2001 From: Goutte Date: Sat, 4 Nov 2017 10:34:27 +0100 Subject: Add support for the TAU constant. Fixes #12094. --- modules/gdscript/gd_editor.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/gdscript/gd_editor.cpp') diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp index de8e35c406..863a06315d 100644 --- a/modules/gdscript/gd_editor.cpp +++ b/modules/gdscript/gd_editor.cpp @@ -337,6 +337,11 @@ void GDScriptLanguage::get_public_constants(List > *p_cons pi.second = Math_PI; p_constants->push_back(pi); + Pair tau; + tau.first = "TAU"; + tau.second = Math_TAU; + p_constants->push_back(tau); + Pair infinity; infinity.first = "INF"; infinity.second = Math_INF; -- cgit v1.2.3