summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-04-06 13:00:27 -0400
committerTavian Barnes <tavianator@gmail.com>2010-04-06 13:00:27 -0400
commitcf0681d243633af2c030d9dc901e44095c6d0c23 (patch)
tree1b460a82ca0f75cced1b8c2fe38004f8158f27e3 /tests
parent45e93889054cb2064b8e7ece2a7a3305cb225141 (diff)
downloaddimension-cf0681d243633af2c030d9dc901e44095c6d0c23.tar.xz
Add CSG merges to libdimension.
Diffstat (limited to 'tests')
-rw-r--r--tests/libdimension/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libdimension/tests.c b/tests/libdimension/tests.c
index e00e8ff..efb2631 100644
--- a/tests/libdimension/tests.c
+++ b/tests/libdimension/tests.c
@@ -143,7 +143,7 @@ dmnsn_new_default_scene()
cube->trans = dmnsn_rotation_matrix(dmnsn_new_vector(0.75, 0.0, 0.0));
- dmnsn_object *csg = dmnsn_new_csg_intersection(sphere, cube);
+ dmnsn_object *csg = dmnsn_new_csg_merge(sphere, cube);
if (!csg) {
dmnsn_delete_scene(scene);
return NULL;