mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-16 19:54:29 +02:00
add decimal
This commit is contained in:
@@ -16,6 +16,6 @@ function ptf_circle(size, point) =
|
|||||||
leng == 0 ? [0, 0] :
|
leng == 0 ? [0, 0] :
|
||||||
let(
|
let(
|
||||||
n = max(abs(p.x), abs(p.y)),
|
n = max(abs(p.x), abs(p.y)),
|
||||||
r = n * 1.414
|
r = n * 1.41421356237
|
||||||
)
|
)
|
||||||
[p.y, p.x] * (r / leng);
|
[p.y, p.x] * (r / leng);
|
Reference in New Issue
Block a user