summaryrefslogtreecommitdiffstats
path: root/libdimension/prtree.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/prtree.h')
-rw-r--r--libdimension/prtree.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libdimension/prtree.h b/libdimension/prtree.h
index c69d1ec..86707cf 100644
--- a/libdimension/prtree.h
+++ b/libdimension/prtree.h
@@ -31,10 +31,12 @@
#include <stdbool.h>
+/** A priority R-tree; the spatial subdivision method used for intersection
+ queries against the scene graph. */
typedef struct dmnsn_prtree {
- dmnsn_bounding_box bounding_box;
- dmnsn_array *unbounded;
- dmnsn_array *bounded;
+ dmnsn_bounding_box bounding_box; /**< The bounding box for the whole scene. */
+ dmnsn_array *unbounded; /**< The unbounded objects. */
+ dmnsn_array *bounded; /**< A PR-tree of the bounded objects. */
} dmnsn_prtree;
/** Create a PR-tree. */