galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
Random.cpp File Reference
#include "Random.hpp"
+ Include dependency graph for Random.cpp:

Go to the source code of this file.

Namespaces

namespace  galaxy
 Timer.hpp galaxy.
 
namespace  galaxy::math
 

Functions

glm::vec2 galaxy::math::random_vec2 (const glm::vec2 &min, const glm::vec2 &max) noexcept
 Generate a random vec2.
 
glm::vec3 galaxy::math::random_vec3 (const glm::vec3 &min, const glm::vec3 &max) noexcept
 Generate a random vec3.
 
glm::vec4 galaxy::math::random_vec4 (const glm::vec4 &min, const glm::vec4 &max) noexcept
 Generate a random vec4.