diff options
| author | 3gg <3gg@shellblade.net> | 2025-10-30 17:21:22 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-10-30 17:21:25 -0700 |
| commit | 440b292c39162284a447b34d3a692143af9fbc87 (patch) | |
| tree | b5f0adf047651a56eb74ba7b92fdf6ebe2bbc635 /src/scene/object_impl.h | |
| parent | 643382dfd364a193686201e1c82b6fe7f351f068 (diff) | |
- Replace SceneCamera with Camera.
- Remove backpointer from scene types to node to decouple underlying types from the scene graph.
Diffstat (limited to 'src/scene/object_impl.h')
| -rw-r--r-- | src/scene/object_impl.h | 4 |
1 files changed, 1 insertions, 3 deletions
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 { | |||
| 19 | typedef struct SceneObject { | 19 | typedef struct SceneObject { |
| 20 | mesh_link_idx mesh_link; /// First MeshLink in the list. | 20 | mesh_link_idx mesh_link; /// First MeshLink in the list. |
| 21 | skeleton_idx skeleton; /// 0 for static objects. | 21 | skeleton_idx skeleton; /// 0 for static objects. |
| 22 | // TODO: Can we just store node indices in nodes, not the contained object? | 22 | aabb3 box; |
| 23 | node_idx parent; /// Parent SceneNode. | ||
| 24 | aabb3 box; | ||
| 25 | } SceneObject; | 23 | } SceneObject; |
