|
Muto 0.0.1
|
Provides random number generation utilities. More...
#include <random>#include <algorithm>#include <cstdint>#include <glm/glm.hpp>#include "Debug/Instrumentor.h"Go to the source code of this file.
Namespaces | |
| namespace | Muto |
| The main namespace for the Muto engine. | |
| namespace | Muto::Random |
| namespace | Random |
| Provides various functions and helpers related to randomization. | |
Functions | |
| bool | Muto::Random::Bool1 (float trueChance) |
| unsigned char | Muto::Random::Char () |
| float | Muto::Random::Float1 () |
| glm::vec2 | Muto::Random::Float2 () |
| glm::vec3 | Muto::Random::Float3 () |
| glm::vec4 | Muto::Random::Float4 () |
| std::mt19937 & | Muto::Random::GetRNG () |
| std::string | Muto::Random::HexString (size_t length) |
| float | Muto::Random::RangeF1 (float min, float max) |
| float | Muto::Random::RangeF1_Inclusive (float min, float max) |
| glm::vec2 | Muto::Random::RangeF2 (const glm::vec2 &minRange, const glm::vec2 &maxRange) |
| glm::vec2 | Muto::Random::RangeF2 (float min, float max) |
| glm::vec2 | Muto::Random::RangeF2 (float min1, float max1, float min2, float max2) |
| glm::vec3 | Muto::Random::RangeF3 (const glm::vec2 &range1, const glm::vec2 &range2, const glm::vec2 &range3) |
| glm::vec3 | Muto::Random::RangeF3 (float min, float max) |
| glm::vec3 | Muto::Random::RangeF3 (float min1, float max1, float min2, float max2, float min3, float max3) |
| glm::vec4 | Muto::Random::RangeF4 (float min, float max) |
| void | Muto::Random::Seed (uint32_t seed) |
| std::string | Muto::Random::String (size_t length) |
| uint32_t | Muto::Random::UInt1 (uint32_t max) |
| std::string | Muto::Random::UUID () |
Provides random number generation utilities.