diff options
Diffstat (limited to 'src/scene/object_impl.h')
-rw-r--r-- | src/scene/object_impl.h | 5 |
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 { | |||
21 | typedef struct SceneObject { | 21 | typedef 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; |