summaryrefslogtreecommitdiffstats
path: root/libdimension-python/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-07-13 11:36:02 -0600
committerTavian Barnes <tavianator@gmail.com>2011-07-13 11:36:02 -0600
commitf034b0cba4c028b4b156f7d8824b6ccf84f1f277 (patch)
treed4f3605f4854e3e77516a41b1005381deab8d910 /libdimension-python/tests
parent784b86f008b5b71380a489fba6eafeb2b933ed9c (diff)
downloaddimension-f034b0cba4c028b4b156f7d8824b6ccf84f1f277.tar.xz
Clean up tests a bit.
Diffstat (limited to 'libdimension-python/tests')
-rwxr-xr-xlibdimension-python/tests/demo.py7
1 files changed, 3 insertions, 4 deletions
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,
]