diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-06-05 23:46:29 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-06-05 23:55:21 -0600 |
commit | 6681e5e78772be7168b5ed2a5688d2e89ee4f5d5 (patch) | |
tree | ffd8c5fef0a6c5db47b0f635b6e1ae5719861f17 /libdimension/dimension | |
parent | 4a2dd35a34d456b9164e90b4fb1a06b1d009869f (diff) | |
download | dimension-6681e5e78772be7168b5ed2a5688d2e89ee4f5d5.tar.xz |
Add children to dmnsn_objects, which enables splitting unions.
Also, use PR-trees for unions internally.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r-- | libdimension/dimension/object.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |