aboutsummaryrefslogtreecommitdiff
path: root/src/scene/node_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scene/node_impl.h')
-rw-r--r--src/scene/node_impl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/scene/node_impl.h b/src/scene/node_impl.h
index fb88bd5..15ee232 100644
--- a/src/scene/node_impl.h
+++ b/src/scene/node_impl.h
@@ -4,6 +4,7 @@
4 4
5#include "types.h" 5#include "types.h"
6 6
7#include <math/camera.h>
7#include <math/mat4.h> 8#include <math/mat4.h>
8 9
9/// Scene node. 10/// Scene node.
@@ -12,9 +13,6 @@
12/// 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.
13typedef struct SceneNode { 14typedef struct SceneNode {
14 NodeType type; 15 NodeType type;
15 // TODO: Inline the actual object here and get rid of the indirection and the
16 // extra pools? The "scene camera" is kind of a useless data structure, for
17 // example.
18 union { 16 union {
19 anima_idx anima; 17 anima_idx anima;
20 camera_idx camera; 18 camera_idx camera;