refactored random subsystem
added compile-time seed support
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user