From 0cb8dcce563a36dd2adb8e4d941cbac4adcb8561 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 20 Oct 2010 19:08:05 -0400 Subject: Add cones to dimension. --- tests/dimension/demo.pov | 11 +++++++++-- tests/dimension/demo.sh | 21 ++++++++++++++++----- 2 files changed, 25 insertions(+), 7 deletions(-) (limited to 'tests') 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) -- cgit v1.2.3