1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-18 06:38:14 +01:00

fix wrong pts

This commit is contained in:
Justin Lin 2020-04-05 12:23:36 +08:00
parent 8b8dd5bbf3
commit a6f45b1384

View File

@ -214,19 +214,19 @@ function _case2202_isobands(cell_pts, lower, upper) = [
function _case2022_isobands(cell_pts, lower, upper) = [
[
interpolated_pt(cell_pts[0], cell_pts[1], upper),
interpolated_pt(cell_pts[1], cell_pts[2], upper),
interpolated_pt(cell_pts[1], cell_pts[2], lower),
interpolated_pt(cell_pts[0], cell_pts[1], lower)
interpolated_pt(cell_pts[2], cell_pts[3], upper),
interpolated_pt(cell_pts[2], cell_pts[3], lower),
interpolated_pt(cell_pts[1], cell_pts[2], lower)
]
];
function _case0222_isobands(cell_pts, lower, upper) = [
[
interpolated_pt(cell_pts[0], cell_pts[1], upper),
interpolated_pt(cell_pts[1], cell_pts[2], upper),
interpolated_pt(cell_pts[2], cell_pts[3], upper),
interpolated_pt(cell_pts[2], cell_pts[3], lower),
interpolated_pt(cell_pts[1], cell_pts[2], lower)
interpolated_pt(cell_pts[1], cell_pts[2], lower),
interpolated_pt(cell_pts[0], cell_pts[1], lower)
]
];