summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/dimension/demo.pov11
-rwxr-xr-xtests/dimension/demo.sh21
2 files changed, 25 insertions, 7 deletions
diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov
index 69c9d4e..0ec053b 100644
--- a/tests/dimension/demo.pov
+++ b/tests/dimension/demo.pov
@@ -71,8 +71,15 @@ difference {
}
}
-cylinder {
- -1.25*y, 1.25*y, 0.1
+union {
+ cylinder {
+ -1.25*y, 1.25*y, 0.1
+ }
+ cone {
+ 1.25*y, 0.1, 1.5*y, 0
+ open
+ }
+
pigment {
color rgb <1, 0, 0>
}
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index 2bf21b9..fc37226 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -77,11 +77,22 @@ 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))
+ (union
+ (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)
+ (object
+ (cone
+ (vector (float 0) (float 1.25) (float 0) (float 0) (float 0))
+ (float 0.1)
+ (vector (float 0) (float 1.5) (float 0) (float 0) (float 0))
+ (integer 0)
+ (integer 1))
+ object-modifiers))
(object-modifiers
(pigment
(vector (integer 1) (integer 0) (integer 0)