summaryrefslogtreecommitdiffstats
path: root/tests/dimension/demo.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-10-20 19:08:05 -0400
committerTavian Barnes <tavianator@gmail.com>2010-10-20 19:08:05 -0400
commit0cb8dcce563a36dd2adb8e4d941cbac4adcb8561 (patch)
treef88e290a73fa863488960f4142eae57a6cffbdfc /tests/dimension/demo.sh
parent59481d4e4421cc7d0610d49c6dbec720de1f11ea (diff)
downloaddimension-0cb8dcce563a36dd2adb8e4d941cbac4adcb8561.tar.xz
Add cones to dimension.
Diffstat (limited to 'tests/dimension/demo.sh')
-rwxr-xr-xtests/dimension/demo.sh21
1 files changed, 16 insertions, 5 deletions
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)