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:
@@ -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];
|
Reference in New Issue
Block a user