Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Math Namespace Reference

Functions

std::mt19937 & randomEngine ()
int randomInt (int min, int max)
float randomFloat (float min, float max)

Function Documentation

◆ randomEngine()

std::mt19937 & Math::randomEngine ( )
inline

Definition at line 7 of file Random.h.

Referenced by randomFloat(), and randomInt().

Here is the caller graph for this function:

◆ randomFloat()

float Math::randomFloat ( float min,
float max )
inline

Definition at line 19 of file Random.h.

References randomEngine().

Here is the call graph for this function:

◆ randomInt()

int Math::randomInt ( int min,
int max )
inline

Definition at line 13 of file Random.h.

References randomEngine().

Here is the call graph for this function: