1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 10:14:41 +02:00

fix det error

This commit is contained in:
Justin Lin
2022-05-07 13:57:48 +08:00
parent 03287724ff
commit 98a5a64293

View File

@@ -21,5 +21,5 @@ function tri_circumcenter(shape_pts) =
) )
det == 0 ? undef : [ det == 0 ? undef : [
cross([d1, d0], [v1.y, v0.y]), cross([d1, d0], [v1.y, v0.y]),
cross([d0, d1], [v0.x, v1.x]) / det cross([d0, d1], [v0.x, v1.x])
]; ] / det;