Exemplo n.º 1
0
 /// <summary>
 /// Generates the random points that define this octave.
 /// </summary>
 /// <param name="pointCount">The amount of points.</param>
 /// <param name="rng">The random number generator used to generate the points.</param>
 /// <returns>The generated points.</returns>
 private static float[] GeneratePoints(int pointCount, IRandomGenerator rng)
 {
     return(ListRandom.GenerateRandom(() => rng.RandomRange(), pointCount).ToArray());
 }