mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-01 23:47:50 +00:00
Flip comparison
As per request from @duplexsystem
This commit is contained in:
parent
c374c2d5ef
commit
589cf83c38
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user