diff options
author | chrysn <chrysn@fsfe.org> | 2013-06-24 15:24:36 (GMT) |
---|---|---|
committer | chrysn <chrysn@fsfe.org> | 2013-06-25 11:41:48 (GMT) |
commit | 850058eb6996a7b0a51b92a0afe4370a3080827c (patch) | |
tree | 765e190edad6c42ea1ee091a521fe0086466424d /tests/regression/dumptest/example015-expected.csg | |
parent | 00e29e9099b0c4e56148036d11bf154d48528d9a (diff) |
trim precision in dumptest regressions
in order for them to work against openscad's .csg output, the number of
decimal places was reduced.
Diffstat (limited to 'tests/regression/dumptest/example015-expected.csg')
-rw-r--r-- | tests/regression/dumptest/example015-expected.csg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regression/dumptest/example015-expected.csg b/tests/regression/dumptest/example015-expected.csg index 4eec6a2..b1da238 100644 --- a/tests/regression/dumptest/example015-expected.csg +++ b/tests/regression/dumptest/example015-expected.csg @@ -12,14 +12,14 @@ group() { square(size = [15, 15], center = true); } } - multmatrix([[0.70710678118, -0.70710678118, 0, 0], [0.70710678118, 0.70710678118, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) { + multmatrix([[0.707107, -0.707107, 0, 0], [0.707107, 0.707107, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) { multmatrix([[1, 0, 0, 0], [0, 1, 0, -15], [0, 0, 1, 0], [0, 0, 0, 1]]) { square(size = [100, 30], center = false); } } } } - multmatrix([[0.70710678118, 0.70710678118, 0, 0], [-0.70710678118, 0.70710678118, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) { + multmatrix([[0.707107, 0.707107, 0, 0], [-0.707107, 0.707107, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) { multmatrix([[0.7, 0, 0, 0], [0, 1.3, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) { circle($fn = 0, $fa = 12, $fs = 2, r = 5); } |