From 2b2d4dbefadef1dfc3222dc6f961c0b3c17e93b4 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 10 Mar 2022 20:43:24 +0800 Subject: [PATCH] refactor --- src/__comm__/_convex_hull3.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__comm__/_convex_hull3.scad b/src/__comm__/_convex_hull3.scad index 30e2c738..52db4d35 100644 --- a/src/__comm__/_convex_hull3.scad +++ b/src/__comm__/_convex_hull3.scad @@ -112,7 +112,7 @@ function _convex_hull3(pts) = faces = _all_faces(v0, v1, v2, v3, sorted, leng, init_vis, fst_tetrahedron), // counter-clockwise reversed = [ for(face = faces) // OpenSCAD requires clockwise. - [for(i = 2; i >= 0; i = i - 1) face[i]] + [face[2], face[1], face[0]] ] ) [