diff options
Diffstat (limited to 'src/scene/model_impl.h')
-rw-r--r-- | src/scene/model_impl.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/scene/model_impl.h b/src/scene/model_impl.h new file mode 100644 index 0000000..a99d32c --- /dev/null +++ b/src/scene/model_impl.h | |||
@@ -0,0 +1,17 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <gfx/scene/model.h> | ||
4 | |||
5 | #include "scene_memory.h" | ||
6 | |||
7 | /// Model. | ||
8 | typedef struct Model { | ||
9 | node_idx root; | ||
10 | node_idx parent; // Parent SceneNode. | ||
11 | } Model; | ||
12 | |||
13 | /// Create a new model. | ||
14 | Model* gfx_make_model(const SceneNode* root); | ||
15 | |||
16 | /// Destroy the model. | ||
17 | void gfx_del_model(Model**); | ||