1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-12 17:54:18 +02:00

use power operator

This commit is contained in:
Justin Lin
2021-04-23 08:20:13 +08:00
parent b6eb09dc65
commit 99a0ee4159

View File

@@ -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];