summaryrefslogtreecommitdiffstats
path: root/libdimension/prtree.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-08-25 21:33:47 -0600
committerTavian Barnes <tavianator@gmail.com>2011-08-25 22:04:26 -0600
commitd70d039bf5a5ec8b487b8425743e7a82cab1bf95 (patch)
tree904ac4fe916d31b63e45c91592a1545ff38a4211 /libdimension/prtree.h
parent9050da9c20ed7e6e09e20944d2e8caac687bb00f (diff)
downloaddimension-d70d039bf5a5ec8b487b8425743e7a82cab1bf95.tar.xz
Use DMNSN_INTERNAL for prtree functions.
Diffstat (limited to 'libdimension/prtree.h')
-rw-r--r--libdimension/prtree.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/libdimension/prtree.h b/libdimension/prtree.h
index e799675..733f854 100644
--- a/libdimension/prtree.h
+++ b/libdimension/prtree.h
@@ -38,12 +38,15 @@ typedef struct dmnsn_prtree {
} dmnsn_prtree;
/** Create a PR-tree. */
-dmnsn_prtree *dmnsn_new_prtree(const dmnsn_array *objects);
+DMNSN_INTERNAL dmnsn_prtree *dmnsn_new_prtree(const dmnsn_array *objects);
/** Delete a PR-tree. */
-void dmnsn_delete_prtree(dmnsn_prtree *tree);
+DMNSN_INTERNAL void dmnsn_delete_prtree(dmnsn_prtree *tree);
/** Find the closest ray-object intersection in the tree. */
-bool dmnsn_prtree_intersection(const dmnsn_prtree *tree, dmnsn_line ray,
- dmnsn_intersection *intersection, bool reset);
+DMNSN_INTERNAL bool dmnsn_prtree_intersection(const dmnsn_prtree *tree,
+ dmnsn_line ray,
+ dmnsn_intersection *intersection,
+ bool reset);
/** Determine whether a point is inside any object in the tree. */
-bool dmnsn_prtree_inside(const dmnsn_prtree *tree, dmnsn_vector point);
+DMNSN_INTERNAL bool dmnsn_prtree_inside(const dmnsn_prtree *tree,
+ dmnsn_vector point);