Add random generator that accepts state for repetability

This commit is contained in:
nikola
2024-12-01 19:56:14 +01:00
parent bbc8b33224
commit 2112878ca7
11 changed files with 98 additions and 50 deletions

8
inc/values/mrand.hpp Normal file
View File

@@ -0,0 +1,8 @@
#include <inttypes.h>
namespace mrand
{
void setSeed(unsigned long long seed);
int getValue(int min, int max);
float getFloat();
}