summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/regression/cgalpngtest/intersection-tests-expected.pngbin7455 -> 7853 bytes
-rw-r--r--tests/regression/dumptest/intersection-tests-expected.csg19
-rw-r--r--tests/regression/opencsgtest/intersection-tests-expected.pngbin7273 -> 7519 bytes
-rw-r--r--tests/regression/throwntogethertest/intersection-tests-expected.pngbin11327 -> 12180 bytes
4 files changed, 19 insertions, 0 deletions
diff --git a/tests/regression/cgalpngtest/intersection-tests-expected.png b/tests/regression/cgalpngtest/intersection-tests-expected.png
index d287e5f..0d40a99 100644
--- a/tests/regression/cgalpngtest/intersection-tests-expected.png
+++ b/tests/regression/cgalpngtest/intersection-tests-expected.png
Binary files differ
diff --git a/tests/regression/dumptest/intersection-tests-expected.csg b/tests/regression/dumptest/intersection-tests-expected.csg
index bfb5077..1091c8d 100644
--- a/tests/regression/dumptest/intersection-tests-expected.csg
+++ b/tests/regression/dumptest/intersection-tests-expected.csg
@@ -54,4 +54,23 @@ group() {
}
}
}
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, -12], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ intersection() {
+ cylinder($fn = 0, $fa = 12, $fs = 2, h = 5, r1 = 4, r2 = 4, center = true);
+ cube(size = [0, 0, 0], center = false);
+ }
+ }
+ multmatrix([[1, 0, 0, 12], [0, 1, 0, -12], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ intersection() {
+ cube(size = [5, 5, 5], center = true);
+ circle($fn = 0, $fa = 12, $fs = 2, r = 2);
+ }
+ }
+ multmatrix([[1, 0, 0, 24], [0, 1, 0, -12], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ intersection() {
+ group();
+ cube(size = [5, 5, 5], center = true);
+ cylinder($fn = 0, $fa = 12, $fs = 2, h = 20, r1 = 2, r2 = 2, center = true);
+ }
+ }
}
diff --git a/tests/regression/opencsgtest/intersection-tests-expected.png b/tests/regression/opencsgtest/intersection-tests-expected.png
index 772e2dc..3cc588f 100644
--- a/tests/regression/opencsgtest/intersection-tests-expected.png
+++ b/tests/regression/opencsgtest/intersection-tests-expected.png
Binary files differ
diff --git a/tests/regression/throwntogethertest/intersection-tests-expected.png b/tests/regression/throwntogethertest/intersection-tests-expected.png
index f6cc56f..6dee3c6 100644
--- a/tests/regression/throwntogethertest/intersection-tests-expected.png
+++ b/tests/regression/throwntogethertest/intersection-tests-expected.png
Binary files differ
contact: Jan Huwald // Impressum