/// <summary> /// Constructs a UniformSampler /// </summary> public UniformSampler() { range = new FloatRange(0f, 1f); }
/// <summary> /// Constructs a new uniform distribution sampler /// </summary> /// <param name="min">The smallest value contained within the range</param> /// <param name="max">The largest value contained within the range</param> public UniformSampler(float min, float max) { range = new FloatRange(min, max); }
/// <summary> /// Constructs a normal distribution sampler /// </summary> public NormalSampler() { range = new FloatRange(-1f, 1f); mean = 0; standardDeviation = 1; }