1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 04:20:27 +02:00

use _tri_circumcircle

This commit is contained in:
Justin Lin
2021-04-25 17:45:45 +08:00
parent 5af03c2eb4
commit c8aaea8e1f

View File

@@ -5,7 +5,7 @@ function tri_circumcircle(shape_pts) =
p2 = shape_pts[2],
v0 = p1 - p0,
d0 = (p1 + p0) / 2 * v0,
v1 = p2 - p1,
v1 = p2 - p1,
d1 = (p2 + p1) / 2 * v1,
det = -cross(v0 , v1)
)