diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-10-20 19:15:28 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-10-20 19:15:28 -0400 |
commit | d33a5e3400b97b66e60d296ca22ba9acf28bc639 (patch) | |
tree | d7de24d36cfabce67fb813ad68040d67fb168c0b | |
parent | 0cb8dcce563a36dd2adb8e4d941cbac4adcb8561 (diff) | |
download | dimension-d33a5e3400b97b66e60d296ca22ba9acf28bc639.tar.xz |
Match the render.c scene's camera to demo.pov.
-rw-r--r-- | tests/libdimension/render.c | 6 |
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( |