Example #1
0
 public float RandomFloatInRange(float lowerInclusive, float upperInclusive)
 {
     return((SquirrelNoise.Get1DNoiseNegativeOneToOne(position++, seed) + 1) * ((upperInclusive - lowerInclusive) / 2) + lowerInclusive);
 }
Example #2
0
 public float RandomFloatNegativeOneToOne()
 {
     return(SquirrelNoise.Get1DNoiseNegativeOneToOne(position++, seed));
 }