mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 06:08:31 +01:00
refactor: use max
This commit is contained in:
parent
cf61ba06c2
commit
de97253d92
@ -1,3 +1,4 @@
|
||||
function __frags(radius) =
|
||||
$fn == 0 ? max(min(360 / $fa, radius * 6.283185307179586 / $fs), 5) :
|
||||
$fn >= 3 ? $fn : 3;
|
||||
$fn == 0 ?
|
||||
max(min(360 / $fa, radius * 6.283185307179586 / $fs), 5) :
|
||||
max($fn, 3);
|
Loading…
x
Reference in New Issue
Block a user