diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-04-06 23:47:59 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-04-06 23:47:59 -0400 |
commit | 2a6bb6c6e0c7d5019e484ab4393941b8801d63ea (patch) | |
tree | e424ab51532ce42a71eeda2d9fde7a791aeb25cc /tests | |
parent | a5bd2809a6e6d60d5e7c8ae0a42205d6267541ef (diff) | |
download | dimension-2a6bb6c6e0c7d5019e484ab4393941b8801d63ea.tar.xz |
Implement CSG differences in libdimension.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libdimension/tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |