public FastPerlinNoise2D(PerlinNoiseSettings2D settings) { this.settings = settings; rng = new Random(settings.seed); populatePremutations(); }
public PerlinNoiseSettings2D(PerlinNoiseSettings2D settings) { size = settings.size; startingPoint = settings.startingPoint; frequencyMulti = settings.frequencyMulti; persistence = settings.persistence; zoom = settings.zoom; octaves = settings.octaves; }
public PerlinNoiseSettings2D(PerlinNoiseSettings2D settings) { size = new Vector2i(settings.size); startingPoint = new Vector2i(settings.startingPoint); frequencyMulti = settings.frequencyMulti; persistence = settings.persistence; zoom = settings.zoom; octaves = settings.octaves; seed = settings.seed; }