mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-05 22:37:35 +02:00
use _tri_circumcircle
This commit is contained in:
@@ -5,7 +5,7 @@ function tri_circumcircle(shape_pts) =
|
|||||||
p2 = shape_pts[2],
|
p2 = shape_pts[2],
|
||||||
v0 = p1 - p0,
|
v0 = p1 - p0,
|
||||||
d0 = (p1 + p0) / 2 * v0,
|
d0 = (p1 + p0) / 2 * v0,
|
||||||
v1 = p2 - p1,
|
v1 = p2 - p1,
|
||||||
d1 = (p2 + p1) / 2 * v1,
|
d1 = (p2 + p1) / 2 * v1,
|
||||||
det = -cross(v0 , v1)
|
det = -cross(v0 , v1)
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user