From 8452b0227e3b7bf6fc012309a49cd1a14de6ae3d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 6 Jun 2010 00:07:14 -0600 Subject: New dmnsn_prtree_inside() function, rename dmnsn_prtree_search(). --- bench/libdimension/prtree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bench') 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); -- cgit v1.2.3