1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 20:40:28 +02:00

should be remain > 1

This commit is contained in:
Justin Lin
2022-05-04 15:17:29 +08:00
parent 86865c6861
commit 50a658c20a

View File

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