From 2a6bb6c6e0c7d5019e484ab4393941b8801d63ea Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 6 Apr 2010 23:47:59 -0400 Subject: Implement CSG differences in libdimension. --- tests/libdimension/tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/libdimension') diff --git a/tests/libdimension/tests.c b/tests/libdimension/tests.c index efb2631..b23c0df 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_merge(sphere, cube); + dmnsn_object *csg = dmnsn_new_csg_difference(cube, sphere); if (!csg) { dmnsn_delete_scene(scene); return NULL; -- cgit v1.2.3