We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6772c5 commit 5358f8dCopy full SHA for 5358f8d
src/main/java/com/generation/SimplexNoise.java
@@ -36,7 +36,7 @@ public SimplexNoise(int largestFeature, double persistence, long seed) {
36
37
this.octaves[index] = new SimplexNoiseOctave(random.nextInt());
38
this.frequencys[index] = Math.pow(2, index);
39
- this.amplitudes[index] = Math.pow(persistence, (double)octaveCount - index);
+ this.amplitudes[index] = Math.pow(persistence, (double) octaveCount - index);
40
}
41
42
0 commit comments