diff options
Diffstat (limited to 'tests/regression/dumptest/color-tests-expected.csg')
-rw-r--r-- | tests/regression/dumptest/color-tests-expected.csg | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/tests/regression/dumptest/color-tests-expected.csg b/tests/regression/dumptest/color-tests-expected.csg new file mode 100644 index 0000000..a65fdc6 --- /dev/null +++ b/tests/regression/dumptest/color-tests-expected.csg @@ -0,0 +1,65 @@ +group() { + color([-1, -1, -1, 1]); + color([-1, -1, -1, 1]); + multmatrix([[1, 0, 0, 12], [0, 1, 0, 12], [0, 0, 1, 0], [0, 0, 0, 1]]) { + group() { + cube(size = [10, 10, 10], center = false); + } + } + color([1, 0, 0, 1]) { + multmatrix([[1, 0, 0, 24], [0, 1, 0, 12], [0, 0, 1, 0], [0, 0, 0, 1]]) { + group() { + cube(size = [10, 10, 10], center = false); + } + } + } + multmatrix([[1, 0, 0, 0], [0, 1, 0, 12], [0, 0, 1, 0], [0, 0, 0, 1]]) { + color([0.501961, 0, 0.501961, 1]) { + group() { + cube(size = [10, 10, 10], center = false); + } + } + } + color([0, 0, 1, 0.5]) { + group() { + cube(size = [10, 10, 10], center = false); + } + } + multmatrix([[1, 0, 0, 12], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) { + color([0, 0, 1, 0.5]) { + group() { + cube(size = [10, 10, 10], center = false); + } + } + } + multmatrix([[1, 0, 0, 24], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) { + color([0, 0.501961, 0, 0.2]) { + group() { + cube(size = [10, 10, 10], center = false); + } + } + } + multmatrix([[1, 0, 0, -12], [0, 1, 0, 12], [0, 0, 1, 0], [0, 0, 0, 1]]) { + color([-1, -1, -1, 1]) { + group() { + cube(size = [10, 10, 10], center = false); + } + } + } + multmatrix([[1, 0, 0, -12], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) { + color([-1, -1, -1, 0.5]) { + group() { + cube(size = [10, 10, 10], center = false); + } + } + } + multmatrix([[1, 0, 0, 24], [0, 1, 0, -12], [0, 0, 1, 0], [0, 0, 0, 1]]) { + color([1, 0, 0, 1]) { + color([0, 0, 1, 1]) { + group() { + cube(size = [10, 10, 10], center = false); + } + } + } + } +} |