From dba3ce51eeab2485f757143ab7560e89590824b8 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Wed, 2 Jul 2025 08:49:48 -0700 Subject: Add comments and TODOs --- src/scene/object_impl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/scene/object_impl.h') 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 { typedef struct SceneObject { mesh_link_idx mesh_link; /// First MeshLink in the list. skeleton_idx skeleton; /// 0 for static objects. - node_idx parent; /// Parent SceneNode. - aabb3 box; + // TODO: Can we just store node indices in nodes, not the contained object? + node_idx parent; /// Parent SceneNode. + aabb3 box; } SceneObject; -- cgit v1.2.3