diff options
Diffstat (limited to 'libdimension/tests/prtree.c')
-rw-r--r-- | libdimension/tests/prtree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/tests/prtree.c b/libdimension/tests/prtree.c index cb36153..86aaa4e 100644 --- a/libdimension/tests/prtree.c +++ b/libdimension/tests/prtree.c @@ -69,7 +69,7 @@ main(void) dmnsn_randomize_bounding_box(object); object->intersection_fn = dmnsn_fake_intersection_fn; dmnsn_initialize_object(object); - dmnsn_array_push(scene->objects, &object); + dmnsn_scene_add_object(scene, object); } dmnsn_prtree *prtree = dmnsn_new_prtree(scene->objects); |