summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libdimension/tests.c')
-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;