Example #1
0
 public PointFactory(int seed)
 {
     PRNG = new PRNG(seed);
 }
Example #2
0
 public PerlinGenerator(float ratio, Rect bounds, int seed = 0)
 {
     PRNG = new PRNG(seed);
     ConstructOffsets(bounds, out float offsetX, out float offsetY);
     Construct(offsetX, offsetY, ratio);
 }