allow contour op to disregard z bottom

This commit is contained in:
Stewart Allen 2022-10-05 11:12:40 -04:00
commit a5c53c1ac6
5 changed files with 12 additions and 3 deletions

View file

@ -39,7 +39,7 @@ class Topo {
maxX = bounds.max.x,
minY = bounds.min.y,
maxY = bounds.max.y,
zBottom = proc.camZBottom,
zBottom = contour.bottom ? proc.camZBottom : 0,
zMin = Math.max(bounds.min.z, zBottom) + 0.0001,
boundsX = maxX - minX,
boundsY = maxY - minY,