#include <random>
#include <Raylib.hpp>
#include "galaxy/meta/Concepts.hpp"
Go to the source code of this file.
|
| template<meta::is_arithmetic T> |
| T | galaxy::math::random (const T min, const T max) noexcept |
| | Generate a random number of type T.
|
| ray::Vector2 | galaxy::math::random_vec2 (const ray::Vector2 &min, const ray::Vector2 &max) noexcept |
| | Generate a random vec2.
|
| ray::Vector3 | galaxy::math::random_vec3 (const ray::Vector3 &min, const ray::Vector3 &max) noexcept |
| | Generate a random vec3.
|
| ray::Vector4 | galaxy::math::random_vec4 (const ray::Vector4 &min, const ray::Vector4 &max) noexcept |
| | Generate a random vec4.
|