From 462be00230ff34bd463b2b6ab0533b24f742612b Mon Sep 17 00:00:00 2001 From: Jacek Date: Sat, 3 Sep 2022 09:21:39 +0200 Subject: [PATCH] Add GetRandomFloat add Get a random float value between min and max (both included) --- src/raylib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/raylib.h b/src/raylib.h index 0746ca2a3..f13c90aaf 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1033,6 +1033,7 @@ RLAPI double GetTime(void); // Get elapsed // Misc. functions RLAPI int GetRandomValue(int min, int max); // Get a random value between min and max (both included) +RLAPI float GetRandomFloat(float min, float max); // Get a random float value between min and max (both included) RLAPI void SetRandomSeed(unsigned int seed); // Set the seed for the random number generator RLAPI void TakeScreenshot(const char *fileName); // Takes a screenshot of current screen (filename extension defines format) RLAPI void SetConfigFlags(unsigned int flags); // Setup init configuration flags (view FLAGS)