add missing half of gyroid
This commit is contained in:
parent
b0eae15fbb
commit
b79d9e5b0e
2 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ var gs_base_gyroid = exports;
|
|||
let erow = edge[y];
|
||||
let lval = vrow[vrow.length - 1];
|
||||
vrow.forEach((val, x) => {
|
||||
if (lval <= 0 && val >= 0) {
|
||||
if ((lval <= 0 && val >= 0) || (lval >= 0 && val <= 0)) {
|
||||
erow[x] = 1;
|
||||
points++;
|
||||
points_lr++;
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@
|
|||
let erow = edge[y];
|
||||
let lval = vrow[vrow.length - 1];
|
||||
vrow.forEach((val, x) => {
|
||||
if (lval <= 0 && val >= 0) {
|
||||
if ((lval <= 0 && val >= 0) || (lval >= 0 && val <= 0)) {
|
||||
erow[x] = 1;
|
||||
points++;
|
||||
points_lr++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue