Example #1
0
        private Point[] Gen()
        {
            var points = new List <Point>();

            for (var v = 0; v < VSteps; v++)
            {
                for (var u = 0; u < USteps; u++)
                {
                    points.Add(Corner + U * (u + Jitter.Next()) + V * (v + Jitter.Next()));
                }
            }

            return(points.ToArray());
        }
Example #2
0
 public Point UVPoint(int u, int v) => Corner + U * (u + Jitter.Next()) + V * (v + Jitter.Next());