Fling Engine
0.00.1
Fling Engine is a game engine written in Vulkan
FlingEngine
Utils
inc
Random.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <stdlib.h>
/* srand, rand */
4
#include <time.h>
/* time */
5
#include "
FlingMath.h
"
6
7
namespace
Fling
8
{
9
class
FLING_API
Random
10
{
11
public
:
12
17
static
bool
Init();
18
24
static
const
int
Random0ToN(
const
int
t_max );
25
32
static
const
int
RandomBetween(
const
int
t_min,
const
int
t_max );
33
35
static
bool
bIsInitalized
;
36
37
static
glm::vec3 GetRandomVec3(
const
glm::vec3 t_Min,
const
glm::vec3 t_Max);
38
39
static
float
GetRandomFloat(
float
t_Min,
float
t_Max);
40
};
41
}
// namespace Fling
Fling::Random
Definition:
Random.h:9
FlingMath.h
Fling::Random::bIsInitalized
static bool bIsInitalized
Flag to determine if random has been initialized.
Definition:
Random.h:35
Fling
Definition:
Engine.h:29
Generated by
1.8.13