Updated tests after surface(invert) change

master
Marius Kintel 2014-03-31 00:04:49 +02:00
parent 14aeaba3b7
commit b1f0fb55cd
4 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ group() {
polygon(points = undef, paths = undef, convexity = 1);
projection(cut = false, convexity = 0);
render(convexity = 1);
surface(file = "", center = false);
surface(file = "", center = false, invert = false);
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]);
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]);
multmatrix([[-1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]);

View File

@ -1,8 +1,8 @@
group() {
intersection() {
surface(file = "example010.dat", center = true);
surface(file = "example010.dat", center = true, invert = false);
multmatrix([[0.70710678118, -0.70710678118, 0, 0], [0.70710678118, 0.70710678118, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
surface(file = "example010.dat", center = true);
surface(file = "example010.dat", center = true, invert = false);
}
}
}

View File

@ -11,7 +11,7 @@ group() {
}
multmatrix([[1, 0, 0, 250], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[200, 0, 0, 0], [0, 200, 0, 0], [0, 0, 50, 0], [0, 0, 0, 1]]) {
surface(file = "localfile.dat", center = false);
surface(file = "localfile.dat", center = false, invert = false);
}
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, -200], [0, 0, 1, 0], [0, 0, 0, 1]]) {

View File

@ -11,7 +11,7 @@ group() {
}
multmatrix([[1, 0, 0, 250], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[200, 0, 0, 0], [0, 200, 0, 0], [0, 0, 50, 0], [0, 0, 0, 1]]) {
surface(file = "localfiles_dir/localfile.dat", center = false);
surface(file = "localfiles_dir/localfile.dat", center = false, invert = false);
}
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, -200], [0, 0, 1, 0], [0, 0, 0, 1]]) {