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

update all

This commit is contained in:
Justin Lin 2019-10-03 15:09:50 +08:00
parent 602c7e6541
commit 3f356e0e7c

View File

@ -1361,6 +1361,7 @@ function bijection_offset(pts, d, epsilon = 0.0001) =
last_p = __line_intersection(offset_es[leng_minus_one], offset_es[0], epsilon)
)
concat(
last_p != [] && last_p == last_p ? [last_p] : [],
[
for(i = 0; i < leng_minus_one; i = i + 1)
let(
@ -1370,8 +1371,7 @@ function bijection_offset(pts, d, epsilon = 0.0001) =
)
// p == p to avoid [nan, nan], because [nan, nan] != [nan, nan]
if(p != [] && p == p) p
],
last_p != [] && last_p == last_p ? [last_p] : []
]
);