fix inverted clampZ for inners
This commit is contained in:
parent
4171e695cd
commit
877d54e9dd
1 changed files with 1 additions and 1 deletions
|
|
@ -501,7 +501,7 @@ function clampZ(poly, max, min) {
|
|||
}
|
||||
if (poly.inner) {
|
||||
for (let p of poly.inner) {
|
||||
clampZ(p, min, max);
|
||||
clampZ(p, max, min);
|
||||
}
|
||||
}
|
||||
return poly;
|
||||
|
|
|
|||
Loading…
Reference in a new issue