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); }
public float3 RandomUniform(GRandom rnd) { return(FromBaricenter(rnd.random())); }