예제 #1
0
 public Noise(int seed)
 {
     //Initialize the main noise function using a custom seed
     _random = new System.Random(seed);
     perlin  = new PerlinAlgorithm(_random);
     simplex = new SimplexAlgorithm(_random);
 }
예제 #2
0
    public Noise(int seed)
    {
		//Initialize the main noise function using a custom seed
        _random = new System.Random(seed);
		perlin = new PerlinAlgorithm(_random);
		simplex = new SimplexAlgorithm(_random);
    }