1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-15 11:14:17 +02:00

add decimal

This commit is contained in:
Justin Lin
2022-05-15 09:40:25 +08:00
parent e2bf9f36b0
commit 9e74b763e6

View File

@@ -16,6 +16,6 @@ function ptf_circle(size, point) =
leng == 0 ? [0, 0] :
let(
n = max(abs(p.x), abs(p.y)),
r = n * 1.414
r = n * 1.41421356237
)
[p.y, p.x] * (r / leng);