diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-01-13 19:55:53 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-01-13 19:55:53 -0500 |
commit | 511e49993c30aff33a4b3719f1c712d81efedf7a (patch) | |
tree | 93c166a5e0107a0641fe39ab308a40a9a8af705f | |
parent | 34a0ef80cb887dd8354f966a1559dbb437beb015 (diff) | |
download | dimension-511e49993c30aff33a4b3719f1c712d81efedf7a.tar.xz |
Add reflection to test scene.
-rw-r--r-- | tests/libdimension/tests.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libdimension/tests.c b/tests/libdimension/tests.c index 52a9fda..0c9cbab 100644 --- a/tests/libdimension/tests.c +++ b/tests/libdimension/tests.c @@ -124,6 +124,8 @@ dmnsn_new_default_scene() return NULL; } + cube->texture->finish = dmnsn_new_reflective_finish(dmnsn_white, dmnsn_white, 1.0); + cube->trans = dmnsn_rotation_matrix(dmnsn_new_vector(0.75, 0.0, 0.0)); /* Now make a light */ |