Navigation Menu

Skip to content

Commit

Permalink
#1233 Added testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
kintel committed Mar 2, 2015
1 parent 43c500f commit dfc516c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testdata/scad/3D/features/transform-tests.scad
Expand Up @@ -15,3 +15,8 @@ multmatrix([[1,0.4,0.1,-25],
[0.4,0.8,0,-25],
[0.2,0.2,0.5,0],
[0,0,0,1]]) mycyl();
translate([-25,-40,0])
multmatrix([[1,0,0,0],
[0,1,0,0],
[0,0,1,0],
[0,0,0,2]]) mycyl();
Binary file modified tests/regression/cgalpngtest/transform-tests-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions tests/regression/dumptest/transform-tests-expected.csg
Expand Up @@ -42,4 +42,11 @@ group() {
cylinder($fn = 0, $fa = 12, $fs = 2, h = 20, r1 = 10, r2 = 0, center = false);
}
}
multmatrix([[1, 0, 0, -25], [0, 1, 0, -40], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[0.5, 0, 0, 0], [0, 0.5, 0, 0], [0, 0, 0.5, 0], [0, 0, 0, 1]]) {
group() {
cylinder($fn = 0, $fa = 12, $fs = 2, h = 20, r1 = 10, r2 = 0, center = false);
}
}
}
}
Binary file modified tests/regression/opencsgtest/transform-tests-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/regression/throwntogethertest/transform-tests-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dfc516c

Please sign in to comment.