diff options
Diffstat (limited to 'src/scene/node_impl.h')
| -rw-r--r-- | src/scene/node_impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scene/node_impl.h b/src/scene/node_impl.h index c79f252..d43ae1e 100644 --- a/src/scene/node_impl.h +++ b/src/scene/node_impl.h | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | /// together form a strict tree hierarchy and not a more general DAG. | 13 | /// together form a strict tree hierarchy and not a more general DAG. |
| 14 | typedef struct SceneNode { | 14 | typedef struct SceneNode { |
| 15 | NodeType type; | 15 | NodeType type; |
| 16 | // TODO: Inline the actual object here and get rid of the indirection and the | ||
| 17 | // extra pools? The "scene camera" is kind of a useless data structure, for | ||
| 18 | // example. | ||
| 16 | union { | 19 | union { |
| 17 | anima_idx anima; | 20 | anima_idx anima; |
| 18 | camera_idx camera; | 21 | camera_idx camera; |
