summaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test.c b/src/test.c
index 6a13af3..3cb27df 100644
--- a/src/test.c
+++ b/src/test.c
@@ -64,7 +64,7 @@ int main(int argc, char *argv[])
}
for (int i = 0; i < sizeof(objects) / sizeof(*objects); i++) {
- objects[i].ix = ix2_object_new(ix2, 0, 0, &objects[i].aabb, &objects[i]);
+ objects[i].ix = ix2_object_new(ix2, NULL, NULL, &objects[i].aabb, &objects[i]);
if (!o) {
fprintf(stderr, "unable to insert object %i\n", i);
return 1;
@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
for (int i = 0; i < sizeof(objects) / sizeof(*objects); i++) {
/* TODO: actually verify the expected objects are hit */
- if (!ix2_search_by_aabb(ix2, 0, 0, &objects[i].aabb, cb, &objects[i])) {
+ if (!ix2_search_by_aabb(ix2, NULL, NULL, &objects[i].aabb, cb, &objects[i])) {
fprintf(stderr, "unable to lookup object %i by perfect aabb\n", i);
return 1;
}
© All Rights Reserved