summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-04-06 12:05:20 -0400
committerTavian Barnes <tavianator@gmail.com>2010-04-06 12:05:20 -0400
commit45e93889054cb2064b8e7ece2a7a3305cb225141 (patch)
treeb7835a650e16134e3e43b3140db03a731b4bbb0b /tests
parent9995e5e94797e7f5a1c4d825c9353a896f17e1ba (diff)
downloaddimension-45e93889054cb2064b8e7ece2a7a3305cb225141.tar.xz
Add CSG intersections 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 47d9b7c..e00e8ff 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_union(sphere, cube);
+ dmnsn_object *csg = dmnsn_new_csg_intersection(sphere, cube);
if (!csg) {
dmnsn_delete_scene(scene);
return NULL;