diff --git a/src/experimental/tri_circumcircle.scad b/src/experimental/tri_circumcircle.scad index df1997c8..dae5831f 100644 --- a/src/experimental/tri_circumcircle.scad +++ b/src/experimental/tri_circumcircle.scad @@ -16,6 +16,6 @@ function tri_circumcircle(points) = center = [x, y], v = p0 - center, r = norm(v), - rr = pow(v[0], 2) + pow(v[1], 2) + rr = v[0] ^ 2 + v[1] ^ 2 ) [center, r, rr]; \ No newline at end of file