Merge remote-tracking branch 'origin/master' into dev/7.0-2

This commit is contained in:
Zoe Gidiere
2024-09-24 23:29:52 -06:00
5 changed files with 34 additions and 30 deletions

View File

@@ -62,7 +62,7 @@ public class OpenSimplex2Sampler extends SimplexStyleSampler {
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);
}
}