summaryrefslogtreecommitdiffstats
path: root/bench/libdimension
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 /bench/libdimension
parent6681e5e78772be7168b5ed2a5688d2e89ee4f5d5 (diff)
downloaddimension-8452b0227e3b7bf6fc012309a49cd1a14de6ae3d.tar.xz
New dmnsn_prtree_inside() function, rename dmnsn_prtree_search().
Diffstat (limited to 'bench/libdimension')
-rw-r--r--bench/libdimension/prtree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bench/libdimension/prtree.c b/bench/libdimension/prtree.c
index 904d3ef..1f1c5dd 100644
--- a/bench/libdimension/prtree.c
+++ b/bench/libdimension/prtree.c
@@ -75,14 +75,14 @@ main()
});
printf("dmnsn_new_prtree(): %ld\n", sandglass.grains);
- /* dmnsn_prtree_search() */
+ /* dmnsn_prtree_intersection() */
ray.x0 = dmnsn_new_vector(0.0, 0.0, -2.0);
ray.n = dmnsn_new_vector(0.0, 0.0, 1.0);
sandglass_bench_fine(&sandglass, {
- dmnsn_prtree_search(tree, ray, &intersection);
+ dmnsn_prtree_intersection(tree, ray, &intersection);
});
- printf("dmnsn_prtree_search(): %ld\n", sandglass.grains);
+ printf("dmnsn_prtree_intersection(): %ld\n", sandglass.grains);
/* Cleanup */
dmnsn_delete_prtree(tree);