From 6681e5e78772be7168b5ed2a5688d2e89ee4f5d5 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 5 Jun 2010 23:46:29 -0600 Subject: Add children to dmnsn_objects, which enables splitting unions. Also, use PR-trees for unions internally. --- libdimension/dimension/object.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libdimension/dimension') diff --git a/libdimension/dimension/object.h b/libdimension/dimension/object.h index 11847b0..5cc62a1 100644 --- a/libdimension/dimension/object.h +++ b/libdimension/dimension/object.h @@ -69,6 +69,9 @@ struct dmnsn_object { /* Bounding box */ dmnsn_bounding_box bounding_box; + /* Child objects */ + dmnsn_array *children; + /* Callback functions */ dmnsn_object_init_fn *init_fn; dmnsn_object_intersection_fn *intersection_fn; -- cgit v1.2.3