TurtleBrains
0.3.5
High quality, portable, C++ framework for rapid 2D game development.
tb_random_numbers.hpp
1
9
#ifndef TurtleBrains_RandomNumbers_hpp
10
#define TurtleBrains_RandomNumbers_hpp
11
12
#include <turtle_brains/core/tb_string.hpp>
13
14
namespace
TurtleBrains
15
{
16
namespace
Math
17
{
18
22
unsigned
int
SeedRandomGenerator
(
void
);
23
30
unsigned
int
SeedRandomGenerator
(
const
tbCore::tbString
& seed);
31
35
void
SeedRandomGenerator
(
unsigned
int
seed);
36
41
int
RandomInt
(
void
);
42
51
int
RandomInt
(
const
int
minimumValue,
const
int
maximumValue);
52
56
float
RandomFloat
(
void
);
57
66
float
RandomFloat
(
const
float
minimumValue,
const
float
maximumValue);
67
68
};
/* namespace Math */
69
};
/* namespace TurtleBrains */
70
71
namespace
tbMath
=
TurtleBrains::Math
;
72
73
#endif
/* TurtleBrains_RandomNumbers_hpp */
TurtleBrains::Math::SeedRandomGenerator
unsigned int SeedRandomGenerator(void)
TurtleBrains::Math
Contains objects and functions for dealing with Vector and Matrix math.
TurtleBrains
Here is some information about the primary namespace.
Definition:
tb_application_dialog.hpp:21
TurtleBrains::Core::tbString
std::string tbString
Definition:
tb_string.hpp:335
TurtleBrains::Math::RandomInt
int RandomInt(void)
TurtleBrains::Math::RandomFloat
float RandomFloat(void)
source
turtle_brains
math
tb_random_numbers.hpp
Generated on Sat May 21 2022 14:31:24 for TurtleBrains by
1.8.9.1