diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-02-25 02:37:05 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-02-25 02:37:05 -0500 |
commit | 378e41292f27cf74333d82cae8fb5c0584a84442 (patch) | |
tree | 049b0f75279b6df1c5cde703b46e6a9afc6f47d9 /tests/libdimension | |
parent | a893d72c2caf3b8dc457115f6409b6bf66a5adbc (diff) | |
download | dimension-378e41292f27cf74333d82cae8fb5c0584a84442.tar.xz |
Adjust refreaction in tests.
Diffstat (limited to 'tests/libdimension')
-rw-r--r-- | tests/libdimension/tests.c | 8 |
1 files changed, 4 insertions, 4 deletions
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)); |