Add random generator that accepts state for repetability
This commit is contained in:
@@ -3,6 +3,5 @@
|
||||
Color ColorLerp(Color c1, Color c2, float amount);
|
||||
Color ColorAdd(Color c, int add);
|
||||
Vector2 CalculateVector(float rotation, float offSet, float len);
|
||||
float GetRandomFloat();
|
||||
|
||||
void drawTexureWithRotation(RenderTexture2D& target, Rectangle& dest, float rotation);
|
||||
void drawTexureWithRotation(RenderTexture2D &target, Rectangle &dest, float rotation);
|
8
inc/values/mrand.hpp
Normal file
8
inc/values/mrand.hpp
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <inttypes.h>
|
||||
|
||||
namespace mrand
|
||||
{
|
||||
void setSeed(unsigned long long seed);
|
||||
int getValue(int min, int max);
|
||||
float getFloat();
|
||||
}
|
Reference in New Issue
Block a user