mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Exposed randi_range to global funcs + renamed rand_range to randf_range
This commit is contained in:
@@ -181,3 +181,7 @@ double Math::random(double from, double to) {
|
||||
float Math::random(float from, float to) {
|
||||
return default_rand.random(from, to);
|
||||
}
|
||||
|
||||
int Math::random(int from, int to) {
|
||||
return default_rand.random(from, to);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user