Files
Isaacpp/rng.h

18 lines
297 B
C++

//
// Created by Grant Horner on 12/1/25.
//
#pragma once
#include <random>
struct Rng {
inline static std::random_device dev;
inline static std::mt19937 rng{dev()};
static float generate();
static float generate(uint32_t max);
static float generate(int min, int max);
};