Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Base
Random.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
7
namespace
Eegeo
8
{
9
class
Random
10
{
11
static
const
int
N = 624;
12
13
u32 mt[N];
14
int
mti;
15
16
void
init_by_array (u32 init_key[],
int
key_length);
17
void
init_genrand (u32 s);
18
u32 genrand_u32 (
void
);
19
20
public
:
21
Random
( u32 seed );
22
u32 GetNumber ();
23
float
GetFloat ();
24
float
GetFloat2 ();
25
float
GetFloat (
float
min,
float
max );
26
};
27
}
Generated on Sat Jun 10 2023 02:00:29 for eeGeo Platform SDK by
1.8.3.1