diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-09 15:01:22 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-09 15:01:22 -0500 |
commit | 319491781c1389d82897075b6d890e74d82a08a9 (patch) | |
tree | 048b36a0fc9451db499f4f6c1d828814130a67fa /tests/libdimension | |
parent | 1044badd2e625c73eae616f6a0d10479dde54db5 (diff) | |
download | dimension-319491781c1389d82897075b6d890e74d82a08a9.tar.xz |
Calculate surface normals in intersection callbacks.
Diffstat (limited to 'tests/libdimension')
-rw-r--r-- | tests/libdimension/tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |