mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 13:39:18 +02:00
Merge pull request #1 from docentYT/fix-clamp-exception
Merge with fix-clamp-exception
This commit is contained in:
@@ -98,9 +98,9 @@ bool ClearFlag(int &Flag, int const Value)
|
||||
}
|
||||
}
|
||||
|
||||
double Random(double a, double b)
|
||||
double Random(double min, double max)
|
||||
{
|
||||
std::uniform_real_distribution<double> dist(a, b);
|
||||
std::uniform_real_distribution<double> dist(min, max);
|
||||
return dist(Global.random_engine);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user