1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-02 11:12:42 +02: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;