From 858685f22f02103c64befc681ea309dbcf2a5fc0 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Mon, 5 Oct 2020 17:05:57 +0800 Subject: [PATCH] add comment --- src/__comm__/_convex_hull3.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/__comm__/_convex_hull3.scad b/src/__comm__/_convex_hull3.scad index b9a46439..c485e879 100644 --- a/src/__comm__/_convex_hull3.scad +++ b/src/__comm__/_convex_hull3.scad @@ -120,8 +120,8 @@ function _convex_hull3(pts) = [v0, v2, v3] ], 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), - reversed = [for(face = faces) + faces = _all_faces(v0, v1, v2, v3, sorted, leng, init_vis, fst_tetrahedron), // counter-clockwise + reversed = [for(face = faces) // OpenSCAD prefers clockwise. [for(i = 2; i >= 0; i = i - 1) face[i]] ]