From a60f242982d70e85a5b2c182eb3289b2fa7812e1 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sat, 27 Oct 2018 16:12:27 -0400 Subject: Add integer posmod and rename default arg names "posmod" is the integer version of "fposmod". We do not need a "mod" because of the % operator. I changed the default arg names from "x" and "y" to "a" and "b" because they are not coordinates. I also changed pow's arg names to "base" and "exp". Also, I reorganized the code in the VS built-in funcs switch statement. --- modules/gdscript/gdscript_functions.h | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/gdscript/gdscript_functions.h') diff --git a/modules/gdscript/gdscript_functions.h b/modules/gdscript/gdscript_functions.h index 6ad70f2eb4..d52b9118d3 100644 --- a/modules/gdscript/gdscript_functions.h +++ b/modules/gdscript/gdscript_functions.h @@ -49,6 +49,7 @@ public: MATH_SQRT, MATH_FMOD, MATH_FPOSMOD, + MATH_POSMOD, MATH_FLOOR, MATH_CEIL, MATH_ROUND, -- cgit v1.2.3