From 319491781c1389d82897075b6d890e74d82a08a9 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 9 Nov 2009 15:01:22 -0500 Subject: Calculate surface normals in intersection callbacks. --- tests/libdimension/tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/libdimension') diff --git a/tests/libdimension/tests.c b/tests/libdimension/tests.c index 87cbb7b..d79434d 100644 --- a/tests/libdimension/tests.c +++ b/tests/libdimension/tests.c @@ -101,7 +101,7 @@ dmnsn_new_default_scene() return NULL; } - cube->texture->pigment = dmnsn_new_solid_pigment(dmnsn_black); + cube->texture->pigment = dmnsn_new_solid_pigment(dmnsn_white); if (!cube->texture->pigment) { dmnsn_delete_scene(scene); return NULL; @@ -113,7 +113,7 @@ dmnsn_new_default_scene() dmnsn_light *light = dmnsn_new_point_light( dmnsn_vector_construct(-5.0, 20.0, -5.0), - dmnsn_white + dmnsn_color_mul(0.9, dmnsn_white) ); if (!light) { dmnsn_delete_scene(scene); -- cgit v1.2.3