summaryrefslogtreecommitdiffstats
path: root/tests/dimension/demo.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-06-17 09:16:20 -0600
committerTavian Barnes <tavianator@gmail.com>2010-06-17 09:16:20 -0600
commitc8667ce6ae94929e9bc06c9af51b6589bc528946 (patch)
treeb325c25f6192f51159e24ace80f2e9e5ce00b99f /tests/dimension/demo.sh
parent91cc57a4a12997a72c2ec643f3560ad998daa87b (diff)
downloaddimension-c8667ce6ae94929e9bc06c9af51b6589bc528946.tar.xz
Fully implement POV-Ray transformations.
Diffstat (limited to 'tests/dimension/demo.sh')
-rwxr-xr-xtests/dimension/demo.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index 22308dc..18f1c05 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -28,8 +28,9 @@ demo_exp=$(echo -n \
(right (vector (float 1.6) (integer 0) (integer 0) (integer 0) (integer 0)))
(look_at (vector (integer 0) (integer 0) (integer 0)
(integer 0) (integer 0)))
- (rotate (vector (integer 0) (integer 53) (integer 0)
- (integer 0) (integer 0))))
+ (transformation
+ (rotation (vector (integer 0) (integer 53) (integer 0)
+ (integer 0) (integer 0)))))
(background
(vector (integer 0) (float 0.1) (float 0.2) (float 0.1) (integer 0)))
(light_source
@@ -42,8 +43,9 @@ demo_exp=$(echo -n \
(vector (integer -1) (integer -1) (integer -1) (integer 0) (integer 0))
(vector (integer 1) (integer 1) (integer 1) (integer 0) (integer 0))
(object-modifiers
- (rotate (vector (integer 45) (integer 0) (integer 0)
- (integer 0) (integer 0)))
+ (transformation
+ (rotation (vector (integer 45) (integer 0) (integer 0)
+ (integer 0) (integer 0))))
(texture
(pigment
(vector (integer 0) (integer 0) (integer 1)