summaryrefslogtreecommitdiffstats
path: root/libdimension/prtree.h
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 /libdimension/prtree.h
parent6681e5e78772be7168b5ed2a5688d2e89ee4f5d5 (diff)
downloaddimension-8452b0227e3b7bf6fc012309a49cd1a14de6ae3d.tar.xz
New dmnsn_prtree_inside() function, rename dmnsn_prtree_search().
Diffstat (limited to 'libdimension/prtree.h')
-rw-r--r--libdimension/prtree.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdimension/prtree.h b/libdimension/prtree.h
index eab359d..30ecbd6 100644
--- a/libdimension/prtree.h
+++ b/libdimension/prtree.h
@@ -50,7 +50,8 @@ typedef struct dmnsn_prtree {
dmnsn_prtree *dmnsn_new_prtree(const dmnsn_array *objects);
void dmnsn_delete_prtree(dmnsn_prtree *tree);
-bool dmnsn_prtree_search(const dmnsn_prtree *tree, dmnsn_line ray,
- dmnsn_intersection *intersection);
+bool dmnsn_prtree_intersection(const dmnsn_prtree *tree, dmnsn_line ray,
+ dmnsn_intersection *intersection);
+bool dmnsn_prtree_inside(const dmnsn_prtree *tree, dmnsn_vector point);
#endif /* DIMENSION_IMPL_PRTREE_H */