From f034b0cba4c028b4b156f7d8824b6ccf84f1f277 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 13 Jul 2011 11:36:02 -0600 Subject: Clean up tests a bit. --- libdimension-python/tests/demo.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libdimension-python/tests') diff --git a/libdimension-python/tests/demo.py b/libdimension-python/tests/demo.py index 7a9a361..96ef22c 100755 --- a/libdimension-python/tests/demo.py +++ b/libdimension-python/tests/demo.py @@ -97,7 +97,6 @@ arrow = Union( .transform(scale(1, 2.75, 1)) .transform(translate(-1.25*Y)), ) -arrow.transform(rotate(-45*X)) torii = Union( [ @@ -114,7 +113,8 @@ torii = Union( finish = Ambient(1), ), ) -torii.transform(rotate(-45*X)) + +spike = Union([arrow, torii]).transform(rotate(-45*X)) ground = Plane( normal = Y, distance = -2, @@ -130,8 +130,7 @@ ground = Plane( objects = [ hollow_cube, - arrow, - torii, + spike, ground, ] -- cgit v1.2.3