TurtleBrains  0.2.1
High quality, portable, C++ API for native application and game development.
tb_random_numbers.h
1 
9 #ifndef _TurtleBrains_RandomNumbers_h_
10 #define _TurtleBrains_RandomNumbers_h_
11 
12 #include <cmath>
13 
14 namespace TurtleBrains
15 {
16  namespace Math
17  {
18 
22  void SeedRandomGenerator(unsigned int seed);
23 
28  int RandomInt(void);
29 
38  int RandomInt(const int minimumValue, const int maximumValue);
39 
43  float RandomFloat(void);
44 
53  float RandomFloat(const float minimumValue, const float maximumValue);
54 
55  }; /* namespace Math */
56 }; /* namespace TurtleBrains */
57 
58 namespace tbMath = TurtleBrains::Math;
59 
60 #endif /* _TurtleBrains_RandomNumbers_h_ */
Contains objects and functions for dealing with Vector and Matrix math.
Contains all functions, classes and helpers related to game/application development written by Tim "B...
Definition: tb_application_dialog.h:21
void SeedRandomGenerator(unsigned int seed)
float RandomFloat(void)