Prog
This commit is contained in:
@@ -15,29 +15,4 @@
|
||||
* initialize the random number generator with a random seed. It uses
|
||||
* the current time to generate a seed.
|
||||
*/
|
||||
void randomInit();
|
||||
|
||||
/**
|
||||
* Sets the random seed for the random number generator.
|
||||
*
|
||||
* @param seed The seed to set.
|
||||
*/
|
||||
void randomSeed(const uint32_t seed);
|
||||
|
||||
/**
|
||||
* Generates a random integer between min and max.
|
||||
*
|
||||
* @param min The minimum value (inclusive).
|
||||
* @param max The maximum value (exclusive).
|
||||
* @return A random integer between min and max.
|
||||
*/
|
||||
int32_t randomI32(const int32_t min, const int32_t max);
|
||||
|
||||
/**
|
||||
* Generates a random float between min and max.
|
||||
*
|
||||
* @param min The minimum value (inclusive).
|
||||
* @param max The maximum value (exclusive).
|
||||
* @return A random float between min and max.
|
||||
*/
|
||||
float_t randomF32(const float_t min, const float_t max);
|
||||
void randomInit();
|
||||
Reference in New Issue
Block a user