You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Expose randfn to global scope
This commit is contained in:
@@ -53,6 +53,10 @@ uint32_t Math::rand() {
|
||||
return default_rand.rand();
|
||||
}
|
||||
|
||||
double Math::randfn(double mean, double deviation) {
|
||||
return default_rand.randfn(mean, deviation);
|
||||
}
|
||||
|
||||
int Math::step_decimals(double p_step) {
|
||||
static const int maxn = 10;
|
||||
static const double sd[maxn] = {
|
||||
|
||||
Reference in New Issue
Block a user