summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_functions.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-06 16:27:56 +0100
committerGitHub <noreply@github.com>2020-11-06 16:27:56 +0100
commit391d29f558d122798416b5957660d9eeceecd0f5 (patch)
tree4124faa0c5cf14841d23fb77fff406380dbe6a76 /modules/gdscript/gdscript_functions.h
parent6797ab67193d0c016952a1138e49a589ae40724a (diff)
parent38fb26794bcc4352c22e46b97408673cf7084c57 (diff)
Merge pull request #40718 from Chaosus/rand_range
Exposed randi_range to global funcs + renamed rand_range to randf_range
Diffstat (limited to 'modules/gdscript/gdscript_functions.h')
-rw-r--r--modules/gdscript/gdscript_functions.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_functions.h b/modules/gdscript/gdscript_functions.h
index 2c6dc02913..ea92808f42 100644
--- a/modules/gdscript/gdscript_functions.h
+++ b/modules/gdscript/gdscript_functions.h
@@ -73,9 +73,10 @@ public:
MATH_MOVE_TOWARD,
MATH_DECTIME,
MATH_RANDOMIZE,
- MATH_RAND,
+ MATH_RANDI,
MATH_RANDF,
- MATH_RANDOM,
+ MATH_RANDF_RANGE,
+ MATH_RANDI_RANGE,
MATH_SEED,
MATH_RANDSEED,
MATH_DEG2RAD,