summaryrefslogtreecommitdiffstats
path: root/tests/dimension/demo.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-26 17:21:37 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-26 18:58:42 -0500
commitb437554ae933f99a59054e6589177ca8380a3a97 (patch)
treebbf5708813e3892b23dad4886c0f6228ab5c3e58 /tests/dimension/demo.sh
parentc0a0ee5ae71b97b1400efddb4c374e1d13701fa3 (diff)
downloaddimension-b437554ae933f99a59054e6589177ca8380a3a97.tar.xz
Add cameras to grammar.
Diffstat (limited to 'tests/dimension/demo.sh')
-rwxr-xr-xtests/dimension/demo.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index 0d8da5a..31bb3ce 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -21,7 +21,16 @@
demo=$(${top_builddir}/dimension/dimension --parse ${srcdir}/demo.pov)
demo_exp=$(echo -n \
-'((background
+'((camera
+ perspective
+ (location (vector (integer 0) (integer 0) (integer -4)
+ (integer 0) (integer 0)))
+ (right (vector (float 1.6) (integer 0) (integer 0) (integer 0) (integer 0)))
+ (rotate (vector (integer 0) (integer 53) (integer 0)
+ (integer 0) (integer 0)))
+ (look_at (vector (integer 0) (integer 0) (integer 0)
+ (integer 0) (integer 0))))
+ (background
(vector (integer 0) (integer 0) (float 0.1) (float 0.1) (integer 0)))
(light_source
(vector (integer -15) (integer 20) (integer 10) (integer 0) (integer 0))