16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 18:09:18 +02:00

Change RandomInt to Random overload and reuse global random engine.

This commit is contained in:
docentYT
2026-05-01 00:25:16 +02:00
parent 937d1b2f2a
commit ee3af0bf18
3 changed files with 4 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ inline long Round(double const f)
}
double Random(double a, double b);
int RandomInt(int min, int max);
int Random(int min, int max);
std::string generate_uuid_v4();
double LocalRandom(double a, double b);