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

add comment

This commit is contained in:
Justin Lin
2020-10-05 17:05:57 +08:00
parent d722be36f8
commit 858685f22f

View File

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