1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-17 12:10:47 +02:00
This commit is contained in:
Justin Lin
2022-03-10 20:43:24 +08:00
parent 642242b204
commit 2b2d4dbefa

View File

@@ -112,7 +112,7 @@ function _convex_hull3(pts) =
faces = _all_faces(v0, v1, v2, v3, sorted, leng, init_vis, fst_tetrahedron), // counter-clockwise faces = _all_faces(v0, v1, v2, v3, sorted, leng, init_vis, fst_tetrahedron), // counter-clockwise
reversed = [ reversed = [
for(face = faces) // OpenSCAD requires clockwise. for(face = faces) // OpenSCAD requires clockwise.
[for(i = 2; i >= 0; i = i - 1) face[i]] [face[2], face[1], face[0]]
] ]
) )
[ [