Exemple #1
0
 public OctaveNoise(int octaves, JavaRandom rnd)
 {
     baseNoise = new ImprovedNoise[octaves];
     for (int i = 0; i < octaves; i++)
     {
         baseNoise[i] = new ImprovedNoise(rnd);
     }
 }
 public OctaveNoise( int octaves, Random rnd )
 {
     baseNoise = new ImprovedNoise[octaves];
     for( int i = 0; i < octaves; i++ )
         baseNoise[i] = new ImprovedNoise( rnd );
 }