1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-02-24 09:33:26 +01:00
This commit is contained in:
Justin Lin 2020-01-11 11:41:23 +08:00
parent 0416c449f5
commit b80cb1a3b6

View File

@ -1,5 +1,3 @@
function __nearest_multiple_of_4(n) =
let(
remain = n % 4
)
let(remain = n % 4)
(remain / 4) > 0.5 ? n - remain + 4 : n - remain;