summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/prtree.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-06-06 00:07:14 -0600
committerTavian Barnes <tavianator@gmail.com>2010-06-06 00:15:25 -0600
commit8452b0227e3b7bf6fc012309a49cd1a14de6ae3d (patch)
tree342842a50fb278dc20fe696e86fdde63b09c4626 /tests/libdimension/prtree.c
parent6681e5e78772be7168b5ed2a5688d2e89ee4f5d5 (diff)
downloaddimension-8452b0227e3b7bf6fc012309a49cd1a14de6ae3d.tar.xz
New dmnsn_prtree_inside() function, rename dmnsn_prtree_search().
Diffstat (limited to 'tests/libdimension/prtree.c')
-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;
}