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/visual_script/visual_script_builtin_funcs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/visual_script/visual_script_builtin_funcs.h') diff --git a/modules/visual_script/visual_script_builtin_funcs.h b/modules/visual_script/visual_script_builtin_funcs.h index f009f49b5b..7821e0eb2d 100644 --- a/modules/visual_script/visual_script_builtin_funcs.h +++ b/modules/visual_script/visual_script_builtin_funcs.h @@ -104,6 +104,7 @@ public: BYTES_TO_VAR, COLORN, MATH_SMOOTHSTEP, + MATH_POSMOD, FUNC_MAX }; -- cgit v1.2.3