Пример #1
0
        /// <summary>
        /// InitialintegerZes a new instance of the <see cref="PerlinNoise"/> class.
        /// </summary>
        public PerlinNoise()
        {
            _PrimeOne   = 15731;
            _PrimeTwo   = 789221;
            _PrimeThree = 1376312589;
            _lookup     = null;
            _maxX       = 0;
            _maxY       = 0;
            _maxZ       = 0;

            _interpolate = MathFunctions.FloatCosineInterpolationFunction;
        }
        /// <summary>
        /// InitialintegerZes a new instance of the <see cref="PerlinNoise"/> class.
        /// </summary>
        public PerlinNoise()
        {
            _PrimeOne   = 15731;
            _PrimeTwo   = 789221;
            _PrimeThree = 1376312589;
            _lookup = null;
            _maxX = 0;
            _maxY = 0;
            _maxZ = 0;

            _interpolate = MathFunctions.FloatCosineInterpolationFunction;
        }