summaryrefslogtreecommitdiffstats
path: root/bench/libdimension/prtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'bench/libdimension/prtree.c')
-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);