From 440b292c39162284a447b34d3a692143af9fbc87 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Thu, 30 Oct 2025 17:21:22 -0700 Subject: - Replace SceneCamera with Camera. - Remove backpointer from scene types to node to decouple underlying types from the scene graph. --- src/scene/object_impl.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/scene/object_impl.h') diff --git a/src/scene/object_impl.h b/src/scene/object_impl.h index e864e53..b7a0752 100644 --- a/src/scene/object_impl.h +++ b/src/scene/object_impl.h @@ -19,7 +19,5 @@ typedef struct MeshLink { typedef struct SceneObject { mesh_link_idx mesh_link; /// First MeshLink in the list. skeleton_idx skeleton; /// 0 for static objects. - // TODO: Can we just store node indices in nodes, not the contained object? - node_idx parent; /// Parent SceneNode. - aabb3 box; + aabb3 box; } SceneObject; -- cgit v1.2.3