1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-21 22:05:27 +02:00

simplify subdivid

This commit is contained in:
Justin Lin
2021-08-11 17:48:01 +08:00
parent 428af98b5d
commit 9b0c825f92

View File

@@ -26,7 +26,7 @@ function _sub_obtuse(a, b, c) =
q = b + (a - b) / PHI,
r = b + (c - b) / PHI
)
[["obtuse", r, c, a], ["obtuse", q, r, b], ["acute", r, q, a]];
concat([["obtuse", r, c, a]], _sub_acute(b, a, r));
function _penrose3(triangles, n, i = 0) =
i == n ? triangles :