示例#1
0
 /// <summary>
 /// Calculation of elevation.
 /// </summary>
 /// <param name="value"></param>
 /// <returns>Double</returns>
 private double CalculatePartialElevation(double value)
 {
     return(value * NoiseAlgorithm.Noise(CurrentXAxis, CurrentYAxis));
 }
示例#2
0
 protected override Rgba32 CreatePixel()
 {
     return(PixelCreator.Create(
                NoiseAlgorithm.Noise(CurrentXAxis, CurrentYAxis)
                ));
 }