Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5358f8d

Browse files
Added space after typecast expression
Co-Authored-By: Libin Yang <contact@yanglibin.info>
1 parentb6772c5 commit5358f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/main/java/com/generation/SimplexNoise.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public SimplexNoise(int largestFeature, double persistence, long seed) {
3636

3737
this.octaves[index] =newSimplexNoiseOctave(random.nextInt());
3838
this.frequencys[index] =Math.pow(2,index);
39-
this.amplitudes[index] =Math.pow(persistence, (double)octaveCount -index);
39+
this.amplitudes[index] =Math.pow(persistence, (double)octaveCount -index);
4040
}
4141
}
4242

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp