diff options
Diffstat (limited to 'src/scene')
| -rw-r--r-- | src/scene/node.c | 2 | ||||
| -rw-r--r-- | src/scene/node_impl.h | 3 | ||||
| -rw-r--r-- | src/scene/object.c | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/src/scene/node.c b/src/scene/node.c index 9d45aa7..b7cf467 100644 --- a/src/scene/node.c +++ b/src/scene/node.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | #include "animation_impl.h" | 3 | #include "animation_impl.h" |
| 4 | #include "camera_impl.h" | 4 | #include "camera_impl.h" |
| 5 | #include "llr/light_impl.h" | 5 | #include "llr/llr_impl.h" |
| 6 | #include "memory.h" | 6 | #include "memory.h" |
| 7 | #include "model_impl.h" | 7 | #include "model_impl.h" |
| 8 | #include "object_impl.h" | 8 | #include "object_impl.h" |
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; |
diff --git a/src/scene/object.c b/src/scene/object.c index e985fd5..3b2d498 100644 --- a/src/scene/object.c +++ b/src/scene/object.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | #include <gfx/core.h> | 3 | #include <gfx/core.h> |
| 4 | 4 | ||
| 5 | #include "llr/mesh_impl.h" | 5 | #include "llr/llr_impl.h" |
| 6 | #include "memory.h" | 6 | #include "memory.h" |
| 7 | #include "node_impl.h" | 7 | #include "node_impl.h" |
| 8 | 8 | ||
