diff options
author | Marius Kintel <marius@kintel.net> | 2013-11-24 01:00:19 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-11-24 01:00:19 (GMT) |
commit | 7b526bc27ab70f362332640987bc3f8c363b3659 (patch) | |
tree | 641660a1659a55c4277df50d65bf5f9c2ab9f526 /tests | |
parent | ab102cec8518ffe1bc7ecefa7986e8390367c692 (diff) |
Added test for polygon with hole
Diffstat (limited to 'tests')
-rw-r--r-- | tests/regression/cgalpngtest/polygon-tests-expected.png | bin | 7755 -> 8321 bytes | |||
-rw-r--r-- | tests/regression/dumptest/polygon-tests-expected.csg | 3 | ||||
-rw-r--r-- | tests/regression/opencsgtest/polygon-tests-expected.png | bin | 8736 -> 9532 bytes | |||
-rw-r--r-- | tests/regression/throwntogethertest/polygon-tests-expected.png | bin | 8797 -> 9626 bytes |
4 files changed, 3 insertions, 0 deletions
diff --git a/tests/regression/cgalpngtest/polygon-tests-expected.png b/tests/regression/cgalpngtest/polygon-tests-expected.png Binary files differindex 5ceabe8..28e4e9f 100644 --- a/tests/regression/cgalpngtest/polygon-tests-expected.png +++ b/tests/regression/cgalpngtest/polygon-tests-expected.png diff --git a/tests/regression/dumptest/polygon-tests-expected.csg b/tests/regression/dumptest/polygon-tests-expected.csg index 56995a5..e19bcb0 100644 --- a/tests/regression/dumptest/polygon-tests-expected.csg +++ b/tests/regression/dumptest/polygon-tests-expected.csg @@ -33,4 +33,7 @@ group() { multmatrix([[1, 0, 0, 2], [0, 1, 0, -4], [0, 0, 1, 0], [0, 0, 0, 1]]) { polygon(points = [[0, 0], [1, 0], [1, 1], [0, 0]], paths = undef, convexity = 1); } + multmatrix([[1, 0, 0, -2], [0, 1, 0, -4], [0, 0, 1, 0], [0, 0, 0, 1]]) { + polygon(points = [[0, 0], [1, 0], [1, 1], [0, 1], [0.2, 0.2], [0.8, 0.2], [0.8, 0.8], [0.2, 0.8]], paths = [[0, 1, 2, 3], [4, 5, 6, 7]], convexity = 1); + } } diff --git a/tests/regression/opencsgtest/polygon-tests-expected.png b/tests/regression/opencsgtest/polygon-tests-expected.png Binary files differindex fe84a80..94bd131 100644 --- a/tests/regression/opencsgtest/polygon-tests-expected.png +++ b/tests/regression/opencsgtest/polygon-tests-expected.png diff --git a/tests/regression/throwntogethertest/polygon-tests-expected.png b/tests/regression/throwntogethertest/polygon-tests-expected.png Binary files differindex 779b878..2ce6b75 100644 --- a/tests/regression/throwntogethertest/polygon-tests-expected.png +++ b/tests/regression/throwntogethertest/polygon-tests-expected.png |