Exemple #1
0
        public FastPerlinNoise2D(PerlinNoiseSettings2D settings)
        {
            this.settings = settings;
            rng           = new Random(settings.seed);

            populatePremutations();
        }
Exemple #2
0
        public PerlinNoiseSettings2D(PerlinNoiseSettings2D settings)
        {
            size          = settings.size;
            startingPoint = settings.startingPoint;

            frequencyMulti = settings.frequencyMulti;
            persistence    = settings.persistence;
            zoom           = settings.zoom;
            octaves        = settings.octaves;
        }
Exemple #3
0
        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;
        }