示例#1
0
 public float Value()
 {
     return(SeedRandom.Xorshift01(ref this.Seed));
 }
示例#2
0
 public static float Value(ref uint seed)
 {
     return(SeedRandom.Xorshift01(ref seed));
 }
示例#3
0
 public static float Range(ref uint seed, float min, float max)
 {
     return(min + SeedRandom.Xorshift01(ref seed) * (max - min));
 }