Ejemplo n.º 1
0
        public List <float3> RandomPoints(int ammount, GRandom rnd)
        {
            List <float3> points = new List <float3>();

            for (int i = 0; i < ammount; i++)
            {
                points.Add(A + (B - A) * rnd.random());
            }

            return(points);
        }
Ejemplo n.º 2
0
 public float3 RandomUniform(GRandom rnd)
 {
     return(FromBaricenter(rnd.random()));
 }