mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-03-14 11:10:01 +01:00
refactor
This commit is contained in:
parent
bc6288f5d2
commit
86865c6861
@ -1,3 +1,3 @@
|
||||
function __nearest_multiple_of_4(n) =
|
||||
let(remain = n % 4)
|
||||
(remain / 4) > 0.5 ? n - remain + 4 : n - remain;
|
||||
remain > 2 ? n - remain + 4 : n - remain;
|
||||
|
Loading…
x
Reference in New Issue
Block a user