diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-08-15 00:22:47 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-08-15 00:22:47 -0600 |
commit | e0efc5ef27039f03be4783d593508ea7480aa4d0 (patch) | |
tree | ec3f69ad6d79ce1378fa6cdd7545d6b6901c2e3c /tests | |
parent | 8fed0cea862554f1d8316c2244e6d94f691abad6 (diff) | |
download | dimension-e0efc5ef27039f03be4783d593508ea7480aa4d0.tar.xz |
Add cylinder support to dimension.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dimension/demo.pov | 8 | ||||
-rwxr-xr-x | tests/dimension/demo.sh | 14 |
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov index 4e8ba4d..69c9d4e 100644 --- a/tests/dimension/demo.pov +++ b/tests/dimension/demo.pov @@ -71,6 +71,14 @@ difference { } } +cylinder { + -1.25*y, 1.25*y, 0.1 + pigment { + color rgb <1, 0, 0> + } + rotate -45*x +} + plane { y, -2 pigment { diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh index a5f05a5..2bf21b9 100755 --- a/tests/dimension/demo.sh +++ b/tests/dimension/demo.sh @@ -77,6 +77,20 @@ demo_exp=$(echo -n \ (phong_size (float 40))))))) object-modifiers) (object + (cylinder + (vector (float 0) (float -1.25) (float 0) (float 0) (float 0)) + (vector (float 0) (float 1.25) (float 0) (float 0) (float 0)) + (float 0.1) + (integer 0)) + (object-modifiers + (pigment + (vector (integer 1) (integer 0) (integer 0) + (integer 0) (integer 0)) + pigment-modifiers) + (transformation + (rotation (vector (integer -45) (integer 0) (integer 0) + (integer 0) (integer 0)))))) + (object (plane (vector (integer 0) (integer 1) (integer 0) (integer 0) (integer 0)) (integer -2)) |