diff options
Diffstat (limited to 'tests/raytrace.c')
-rw-r--r-- | tests/raytrace.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/raytrace.c b/tests/raytrace.c index 15c5d70..a05770b 100644 --- a/tests/raytrace.c +++ b/tests/raytrace.c @@ -33,7 +33,9 @@ int main() { scene = dmnsn_new_scene(); scene->canvas = dmnsn_new_canvas(768, 480); - scene->camera = dmnsn_new_perspective_camera(); + scene->camera = dmnsn_new_perspective_camera( + dmnsn_translation_matrix(dmnsn_vector_construct(0.0, 0.0, -3.0)) + ); sRGB.R = 0.0; sRGB.G = 0.0; |