Exemplo n.º 1
0
 public PerlinNoise( Random rand, int octaves ) {
     this.octaves = octaves;
     noiseLayers = new ImprovedNoise[octaves];
     for( int i = 0; i < octaves; i++ ) {
         noiseLayers[i] = new ImprovedNoise( rand );
     }
 }
Exemplo n.º 2
0
 public PerlinNoise(Random rand, int octaves)
 {
     this.octaves = octaves;
     noiseLayers  = new ImprovedNoise[octaves];
     for (int i = 0; i < octaves; i++)
     {
         noiseLayers[i] = new ImprovedNoise(rand);
     }
 }