Added constructor with seed to the Mersenne rnd generator
This commit is contained in:
parent
6983d4f6e9
commit
29fdad2622
vcg/math
|
@ -199,6 +199,11 @@ public:
|
|||
initialize(5489u);
|
||||
}
|
||||
|
||||
MarsenneTwisterRNG(unsigned int seed)
|
||||
{
|
||||
initialize(seed);
|
||||
}
|
||||
|
||||
virtual ~MarsenneTwisterRNG()
|
||||
{}
|
||||
|
||||
|
|
Loading…
Reference in New Issue