1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 18:24:28 +02:00
This commit is contained in:
Justin Lin
2021-04-25 17:33:32 +08:00
parent 20fcbfaee7
commit 08060db897

View File

@@ -1,8 +1,8 @@
function tri_circumcircle(points) =
function tri_circumcircle(shape_pts) =
let(
p0 = points[0],
p1 = points[1],
p2 = points[2],
p0 = shape_pts[0],
p1 = shape_pts[1],
p2 = shape_pts[2],
v0 = p1 - p0,
d0 = (p1 + p0) / 2 * v0,
v1 = p2 - p1,