summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-27 01:43:36 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-27 11:49:54 -0500
commitda0b16d79c05a83d14195eaf509352effbe5a215 (patch)
treef79ede58876098464dac39a4483f8d2c4ad269d0 /tests
parentb437554ae933f99a59054e6589177ca8380a3a97 (diff)
downloaddimension-da0b16d79c05a83d14195eaf509352effbe5a215.tar.xz
Fake camera semantics until I figure out the real ones.
Diffstat (limited to 'tests')
-rw-r--r--tests/dimension/demo.pov4
-rwxr-xr-xtests/dimension/demo.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov
index 67113cf..b99184b 100644
--- a/tests/dimension/demo.pov
+++ b/tests/dimension/demo.pov
@@ -21,8 +21,8 @@
camera {
perspective
- location <0, 0, -4>
- right <768/480, 0, 0>
+ location <0, 0.25, -4>
+ right <1.6, 0, 0>
rotate <0, 53, 0>
look_at <0, 0, 0>
}
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index 31bb3ce..d129730 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -23,7 +23,7 @@ demo=$(${top_builddir}/dimension/dimension --parse ${srcdir}/demo.pov)
demo_exp=$(echo -n \
'((camera
perspective
- (location (vector (integer 0) (integer 0) (integer -4)
+ (location (vector (integer 0) (float 0.25) (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)