quick port of pocket clearZ to trace clearZnew
This commit is contained in:
parent
aaa45d1fc1
commit
220dc7c439
2 changed files with 61 additions and 3 deletions
|
|
@ -1002,6 +1002,10 @@ class Polygon {
|
|||
return this.z !== undefined ? this.z : this.points[i || 0]?.z || 0;
|
||||
}
|
||||
|
||||
minZ() {
|
||||
return Math.min(...this.points.map(p => p.z));
|
||||
}
|
||||
|
||||
/**
|
||||
*/
|
||||
render(layer, color, recursive, open) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue