From 378e41292f27cf74333d82cae8fb5c0584a84442 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 25 Feb 2010 02:37:05 -0500 Subject: Adjust refreaction in tests. --- tests/libdimension/tests.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/libdimension') diff --git a/tests/libdimension/tests.c b/tests/libdimension/tests.c index d8d1dd9..d5aeb69 100644 --- a/tests/libdimension/tests.c +++ b/tests/libdimension/tests.c @@ -117,15 +117,15 @@ dmnsn_new_default_scene() dmnsn_color cube_color = dmnsn_magenta; cube_color.filter = 0.25; - cube_color.trans = 0.25; + cube_color.trans = 0.5; cube->texture->pigment = dmnsn_new_solid_pigment(cube_color); if (!cube->texture->pigment) { dmnsn_delete_scene(scene); return NULL; } - cube->texture->finish = dmnsn_new_reflective_finish(dmnsn_white, dmnsn_white, - 1.0); + dmnsn_color reflect = dmnsn_color_mul(0.5, dmnsn_white); + cube->texture->finish = dmnsn_new_reflective_finish(reflect, reflect, 1.0); if (!cube->texture->finish) { dmnsn_delete_scene(scene); return NULL; @@ -136,7 +136,7 @@ dmnsn_new_default_scene() dmnsn_delete_scene(scene); return NULL; } - cube->interior->ior = 1.3; + cube->interior->ior = 1.1; cube->trans = dmnsn_rotation_matrix(dmnsn_new_vector(0.75, 0.0, 0.0)); -- cgit v1.2.3