summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-10-20 19:15:28 -0400
committerTavian Barnes <tavianator@gmail.com>2010-10-20 19:15:28 -0400
commitd33a5e3400b97b66e60d296ca22ba9acf28bc639 (patch)
treed7de24d36cfabce67fb813ad68040d67fb168c0b /tests
parent0cb8dcce563a36dd2adb8e4d941cbac4adcb8561 (diff)
downloaddimension-d33a5e3400b97b66e60d296ca22ba9acf28bc639.tar.xz
Match the render.c scene's camera to demo.pov.
Diffstat (limited to 'tests')
-rw-r--r--tests/libdimension/render.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/libdimension/render.c b/tests/libdimension/render.c
index 0a50ed1..49db5ae 100644
--- a/tests/libdimension/render.c
+++ b/tests/libdimension/render.c
@@ -49,7 +49,11 @@ dmnsn_new_test_scene(void)
)
);
trans = dmnsn_matrix_mul(
- dmnsn_translation_matrix(dmnsn_new_vector(0.0, 0.0, -4.0)),
+ dmnsn_rotation_matrix(dmnsn_new_vector(0.0624188099959577, 0.0, 0.0)),
+ trans
+ );
+ trans = dmnsn_matrix_mul(
+ dmnsn_translation_matrix(dmnsn_new_vector(0.0, 0.25, -4.0)),
trans
);
trans = dmnsn_matrix_mul(