mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-26 22:14:08 +08:00
Add automatic linter (#4214)
This commit is contained in:
@ -17,8 +17,7 @@ public class PerlinNoise {
|
||||
* @param seed used for randomizer
|
||||
* @return float array containing calculated "Perlin-Noise" values
|
||||
*/
|
||||
static float[][] generatePerlinNoise(
|
||||
int width, int height, int octaveCount, float persistence, long seed) {
|
||||
static float[][] generatePerlinNoise(int width, int height, int octaveCount, float persistence, long seed) {
|
||||
final float[][] base = new float[width][height];
|
||||
final float[][] perlinNoise = new float[width][height];
|
||||
final float[][][] noiseLayers = new float[octaveCount][][];
|
||||
|
Reference in New Issue
Block a user