summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/tests.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-01-13 19:55:53 -0500
committerTavian Barnes <tavianator@gmail.com>2010-01-13 19:55:53 -0500
commit511e49993c30aff33a4b3719f1c712d81efedf7a (patch)
tree93c166a5e0107a0641fe39ab308a40a9a8af705f /tests/libdimension/tests.c
parent34a0ef80cb887dd8354f966a1559dbb437beb015 (diff)
downloaddimension-511e49993c30aff33a4b3719f1c712d81efedf7a.tar.xz
Add reflection to test scene.
Diffstat (limited to 'tests/libdimension/tests.c')
-rw-r--r--tests/libdimension/tests.c2
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 */