From 9e74b763e68c0b845f44ab21b1f37c64ff5d1c75 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sun, 15 May 2022 09:40:25 +0800 Subject: [PATCH] add decimal --- src/ptf/ptf_circle.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ptf/ptf_circle.scad b/src/ptf/ptf_circle.scad index df39c0fb..339768ff 100644 --- a/src/ptf/ptf_circle.scad +++ b/src/ptf/ptf_circle.scad @@ -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); \ No newline at end of file