1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-31 02:10:28 +02:00

include upper

This commit is contained in:
Justin Lin
2021-01-05 16:04:27 +08:00
parent 4a7cb835ca
commit 26516211b9

View File

@@ -145,7 +145,7 @@ function _isobands_tri_label(pts, lower, upper) =
for(p = row)
let(label =
p[2] < lower ? "0" :
p[2] >= lower && p[2] < upper ? "1" : "2"
p[2] >= lower && p[2] <= upper ? "1" : "2"
)
[p[0], p[1], p[2], label]
]