refactored random subsystem

added compile-time seed support
This commit is contained in:
2016-04-26 15:15:28 +02:00
parent 8f6bfa917f
commit 62d8d6b36b
17 changed files with 163 additions and 29 deletions

View File

@@ -2,8 +2,8 @@
#define DRAWLIST_H
#include <vector>
#include <random>
#include "Random.h"
#include "../Assertions.h"
/**
@@ -38,7 +38,7 @@ private:
std::vector<Entry> elements;
/** random number generator */
std::minstd_rand gen;
RandomGenerator gen;
public: