Skip to content

Commit

Permalink
Flip comparison
Browse files Browse the repository at this point in the history
As per request from @duplexsystem
  • Loading branch information
astrsh authored Sep 25, 2024
1 parent c374c2d commit 6ec0ab8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public double getNoiseRaw(long sl, double x, double y) {
double x1 = x0 + (G2 - 1);
double y1 = y0 + G2;
double b = 0.5 - x1 * x1 - y1 * y1;
if(b <= 0) {
if(b > 0) {
value += (b * b) * (b * b) * gradCoord(seed, i + PRIME_X, j, x1, y1);
}
}
Expand Down

0 comments on commit 6ec0ab8

Please sign in to comment.