mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-06 06:47:46 +02:00
refactor
This commit is contained in:
@@ -10,8 +10,7 @@
|
|||||||
|
|
||||||
function ptf_circle(size, point) =
|
function ptf_circle(size, point) =
|
||||||
let(
|
let(
|
||||||
p_offset = -size / 2,
|
p = point - size / 2,
|
||||||
p = point + p_offset,
|
|
||||||
leng = norm(p)
|
leng = norm(p)
|
||||||
)
|
)
|
||||||
leng == 0 ? [0, 0] :
|
leng == 0 ? [0, 0] :
|
||||||
|
Reference in New Issue
Block a user