Commit 0c5b203c authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH: Use static seed.

parent 2a2b70ed
......@@ -34,7 +34,7 @@ public:
void RandomSeed(long s);
float Random();
private:
long Seed;
static long Seed;
};
#endif
......@@ -14,11 +14,14 @@ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 1993, 1994
=========================================================================*/
#include <math.h>
#include <stdlib.h>
#include "vlMath.hh"
long vlMath::Seed = 1177; // One authors home address
vlMath::vlMath()
{
this->Seed = 1177; // One authors home address
}
//
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment