summaryrefslogtreecommitdiff
path: root/src/random.hpp
diff options
context:
space:
mode:
authorSteph Enders <smenders@gmail.com>2023-02-26 10:43:21 -0500
committerSteph Enders <smenders@gmail.com>2023-02-26 10:43:21 -0500
commit975055e40938730cb09d151ba17bf8defd3b4adf (patch)
treec5a6051ceb45a1351428f79c22e28e61d8a0bf6a /src/random.hpp
parent0bf89ad39d4c3659f3164639e4fbe7ca074fa04a (diff)
Code quality and improvements
I genuinely cannot remember what I was doing here, as I never committed it. But basically - it looks like I used my IDE and fixed warnings and improved some code blocks / references
Diffstat (limited to 'src/random.hpp')
-rw-r--r--src/random.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/random.hpp b/src/random.hpp
index e74267a..18beef4 100644
--- a/src/random.hpp
+++ b/src/random.hpp
@@ -2,16 +2,16 @@
#define UR_RANDOM_H
#include <random>
+
namespace ur {
class Random
{
public:
Random(int min, int max);
+
int next();
private:
- int min;
- int max;
std::default_random_engine engine;
std::normal_distribution<float> distribution;
};