1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-31 10:11:53 +02:00
This commit is contained in:
Justin Lin
2020-01-11 11:39:54 +08:00
parent 6bdfeb8d6b
commit 0416c449f5

View File

@@ -1,3 +1,3 @@
function __frags(radius) = $fn > 0 ?
($fn >= 3 ? $fn : 3) :
max(min(360 / $fa, radius * PI * 2 / $fs), 5);
function __frags(radius) =
$fn == 0 ? max(min(360 / $fa, radius * PI * 2 / $fs), 5) :
$fn >= 3 ? $fn : 3;