mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-15 11:14:17 +02:00
add decimal
This commit is contained in:
@@ -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);
|
Reference in New Issue
Block a user