|
Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine. GitHub | Vesper Updates | Creator |
Provides random number generation utilities. More...
#include <random>#include <algorithm>#include <cstdint>#include <glm/glm.hpp>#include "Vesper/Debug/Instrumentor.h"Go to the source code of this file.
Namespaces | |
| namespace | Vesper |
| TEMPORARY. | |
| namespace | Vesper::Random |
Functions | |
| std::mt19937 & | Vesper::Random::GetRNG () |
| void | Vesper::Random::Seed (uint32_t seed) |
| uint32_t | Vesper::Random::UInt1 (uint32_t max) |
| bool | Vesper::Random::Bool1 (float trueChance) |
| unsigned char | Vesper::Random::Char () |
| std::string | Vesper::Random::String (size_t length) |
| std::string | Vesper::Random::HexString (size_t length) |
| std::string | Vesper::Random::UUID () |
| float | Vesper::Random::Float1 () |
| float | Vesper::Random::RangeF1 (float min, float max) |
| float | Vesper::Random::RangeF1_Inclusive (float min, float max) |
| glm::vec2 | Vesper::Random::Float2 () |
| glm::vec2 | Vesper::Random::RangeF2 (float min, float max) |
| glm::vec2 | Vesper::Random::RangeF2 (float min1, float max1, float min2, float max2) |
| glm::vec2 | Vesper::Random::RangeF2 (const glm::vec2 &minRange, const glm::vec2 &maxRange) |
| glm::vec3 | Vesper::Random::Float3 () |
| glm::vec3 | Vesper::Random::RangeF3 (float min, float max) |
| glm::vec3 | Vesper::Random::RangeF3 (float min1, float max1, float min2, float max2, float min3, float max3) |
| glm::vec3 | Vesper::Random::RangeF3 (const glm::vec2 &range1, const glm::vec2 &range2, const glm::vec2 &range3) |
| glm::vec4 | Vesper::Random::Float4 () |
| glm::vec4 | Vesper::Random::RangeF4 (float min, float max) |
Provides random number generation utilities.