1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 04:20:27 +02:00
This commit is contained in:
Justin Lin
2019-06-11 14:38:51 +08:00
parent 6b64ca01ab
commit eaeb0d1e28
2 changed files with 1 additions and 12 deletions

View File

@@ -85,14 +85,6 @@ module assertEqualNum(expected, actual, epsilon = 0.0001) {
}
}
module round_echo_pts(points, float_digits = 4) {
echo(round_pts(points, float_digits));
}
module round_echo_n(number, float_digits = 4) {
echo(round_n(number, float_digits));
}
function mul_round_vector(vector, n) =
let(vt = vector * n)
[for(v = vt) round(v)];
@@ -101,6 +93,3 @@ function round_vectors(vectors, float_digits = 4) =
let(n = pow(10, float_digits))
[for(vt = vectors) mul_round_vector(vt, n) / n];
module round_echo_vectors(vectors, float_digits = 4) {
echo(round_vectors(vectors, float_digits = 4));
}

File diff suppressed because one or more lines are too long