Expose randfn to global scope

This commit is contained in:
Yuri Roubinsky 2021-06-21 12:58:31 +03:00
parent 3c04522ece
commit a74acca858
9 changed files with 108 additions and 56 deletions

View file

@ -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] = {