Exemple #1
0
 public PerlinPattern(ColorMap colorMap, int octaves = 1, double persistence = 1)
 {
     ColorMap         = colorMap;
     this.octaves     = octaves;
     this.persistence = persistence;
 }
Exemple #2
0
 public PerlinPattern(int octaves = 1, double persistence = 1)
 {
     ColorMap         = new ColorMap((1, Color.White));
     this.octaves     = octaves;
     this.persistence = persistence;
 }