TurtleBrains
0.3.1
High quality, portable, C++ framework for rapid 2D game development.
tb_random_numbers.h
1
9
#ifndef _TurtleBrains_RandomNumbers_h_
10
#define _TurtleBrains_RandomNumbers_h_
11
12
#include "../core/tb_string.h"
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_h_ */
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.h:21
TurtleBrains::Core::tbString
std::string tbString
Definition:
tb_string.h:335
TurtleBrains::Math::RandomInt
int RandomInt(void)
TurtleBrains::Math::RandomFloat
float RandomFloat(void)
source
math
tb_random_numbers.h
Generated on Mon Dec 18 2017 08:46:25 for TurtleBrains by
1.8.9.1