aboutsummaryrefslogtreecommitdiff
path: root/src/scene/object_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scene/object_impl.h')
-rw-r--r--src/scene/object_impl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scene/object_impl.h b/src/scene/object_impl.h
index 88f8e31..ead93f1 100644
--- a/src/scene/object_impl.h
+++ b/src/scene/object_impl.h
@@ -21,6 +21,7 @@ typedef struct MeshLink {
21typedef struct SceneObject { 21typedef struct SceneObject {
22 mesh_link_idx mesh_link; /// First MeshLink in the list. 22 mesh_link_idx mesh_link; /// First MeshLink in the list.
23 skeleton_idx skeleton; /// 0 for static objects. 23 skeleton_idx skeleton; /// 0 for static objects.
24 node_idx parent; /// Parent SceneNode. 24 // TODO: Can we just store node indices in nodes, not the contained object?
25 aabb3 box; 25 node_idx parent; /// Parent SceneNode.
26 aabb3 box;
26} SceneObject; 27} SceneObject;