mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-17 20:11:50 +02:00
refactor
This commit is contained in:
@@ -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]]
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
[
|
[
|
||||||
|
Reference in New Issue
Block a user