summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/libdimension/prtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libdimension/prtree.c b/tests/libdimension/prtree.c
index 9ea8a1e..3738652 100644
--- a/tests/libdimension/prtree.c
+++ b/tests/libdimension/prtree.c
@@ -74,7 +74,7 @@ main()
dmnsn_new_vector(0.0, 0.0, 1.0)
);
- if (!dmnsn_prtree_search(prtree, ray, &intersection)) {
+ if (!dmnsn_prtree_intersection(prtree, ray, &intersection)) {
fprintf(stderr, "--- Didn't find intersection! ---\n");
return EXIT_FAILURE;
}