public HeightMap(int seed, HeightMapConfig config, FastPerlinNoiseConfig noiseConfig) { this.config = config; this.noiseConfig = noiseConfig; //this.noise = new ZeroNoiseMap(noiseConfig.resolution, seed); this.noise = new FastPerlinNoise(seed, noiseConfig); modifyNoise(); }
public HeightMap(int seed, HeightMapConfig config, FastPerlinNoiseConfig noiseConfig, ErosionConfig erosionConfig) { this._config = config; this._noiseConfig = noiseConfig; //this.noise = new ZeroNoiseMap(noiseConfig.resolution, seed); this._noise = new FastPerlinNoise(seed, this._noiseConfig); this._erosionConfig = erosionConfig; ModifyNoise(); }