diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-06-06 00:07:14 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-06-06 00:15:25 -0600 |
commit | 8452b0227e3b7bf6fc012309a49cd1a14de6ae3d (patch) | |
tree | 342842a50fb278dc20fe696e86fdde63b09c4626 /libdimension/prtree.h | |
parent | 6681e5e78772be7168b5ed2a5688d2e89ee4f5d5 (diff) | |
download | dimension-8452b0227e3b7bf6fc012309a49cd1a14de6ae3d.tar.xz |
New dmnsn_prtree_inside() function, rename dmnsn_prtree_search().
Diffstat (limited to 'libdimension/prtree.h')
-rw-r--r-- | libdimension/prtree.h | 5 |
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 */ |