// Token: 0x06002E22 RID: 11810 RVA: 0x000E20CC File Offset: 0x000E04CC public static float Fbm(float x, int octave) { float num = 0f; float num2 = 0.5f; for (int i = 0; i < octave; i++) { num += num2 * Perlin.Noise(x); x *= 2f; num2 *= 0.5f; } return(num); }
// Token: 0x06002E23 RID: 11811 RVA: 0x000E2114 File Offset: 0x000E0514 public static float Fbm(Vector2 coord, int octave) { float num = 0f; float num2 = 0.5f; for (int i = 0; i < octave; i++) { num += num2 * Perlin.Noise(coord); coord *= 2f; num2 *= 0.5f; } return(num); }
// Token: 0x06002E21 RID: 11809 RVA: 0x000E20AE File Offset: 0x000E04AE public static float Noise(Vector3 coord) { return(Perlin.Noise(coord.x, coord.y, coord.z)); }