From df27a0fc92b4a26c92a1befd2fba21585fccc44a Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 15 Apr 2010 16:25:42 -0400 Subject: Support planes in dimension. --- tests/dimension/demo.pov | 7 +++++++ tests/dimension/demo.sh | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'tests/dimension') diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov index d14cebb..4f558c5 100644 --- a/tests/dimension/demo.pov +++ b/tests/dimension/demo.pov @@ -70,3 +70,10 @@ difference { } } } + +plane { + y, -2 + pigment { + color rgb 1 + } +} diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh index 7e9306a..7691093 100755 --- a/tests/dimension/demo.sh +++ b/tests/dimension/demo.sh @@ -68,7 +68,14 @@ demo_exp=$(echo -n \ (finish (phong (float 0.2)) (phong_size (float 40))))))) - object-modifiers))' \ + object-modifiers) + (plane + (vector (integer 0) (integer 1) (integer 0) (integer 0) (integer 0)) + (integer -2) + (object-modifiers + (pigment + (vector (integer 1) (integer 1) (integer 1) + (integer 0) (integer 0))))))' \ | tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g') if [ "$demo" != "$demo_exp" ]; then -- cgit v1.2.3