Skip to content

Commit 0128a01

Browse files
committed
Made the required changes for the PR
1 parent 6d2fa79 commit 0128a01

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
/**
66
* Implementation of the simplex noise algorithm.
7-
* @see <a href="https://en.wikipedia.org/wiki/Simplex_noise">Wikipedia</a>
87
*/
98
public class SimplexNoise {
109

@@ -16,9 +15,9 @@ public class SimplexNoise {
1615
private long seed;
1716

1817
/**
19-
* @param largestFeature size of the largest possible feature
20-
* @param persistence the persistence
21-
* @param seed the seed
18+
* @param largestFeature the diameter of the largest possible "cloud".
19+
* @param persistence the persistence. a low persistence causes smoother transition between the features while a high one makes the transition hard. (range = {@code 0.0F} - {@code 1.0F})
20+
* @param seed the seed this algorithm will use to generate pseudo random numbers. The generation will always look the same if the seed and the other parameters have the same value as in a previous generation
2221
*/
2322
public SimplexNoise(int largestFeature, double persistence, long seed) {
2423

src/main/java/com/generation/SimplexNoiseOctave.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class SimplexNoiseOctave {
4545
private final short[] permMod12 = new short[LENGTH];
4646

4747
/**
48-
* @param seed the seed for this octave
48+
* @param seed the seed that this octave uses to generate pseudo random numbers
4949
*/
5050
public SimplexNoiseOctave(long seed) {
5151

@@ -201,7 +201,6 @@ public double noise(double x, double y) {
201201
* @param y Y
202202
* @param z Z
203203
* @return the noise
204-
* @since 21.08.2018/0.2.0
205204
*/
206205
public double noise(double x, double y, double z) {
207206

@@ -380,7 +379,6 @@ private static final class Gradient {
380379
* @param x X
381380
* @param y Y
382381
* @param z Z
383-
* @since 21.08.2018/0.2.0
384382
*/
385383
private Gradient(double x, double y, double z) {
386384

0 commit comments

Comments
 (0)