From bd57f345ed9dbed1d81683e48199626de2ea9044 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Fri, 27 Jun 2025 10:18:39 -0700 Subject: Restructure project --- src/scene/model_impl.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/scene/model_impl.h (limited to 'src/scene/model_impl.h') 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 @@ +#pragma once + +#include + +#include "scene_memory.h" + +/// Model. +typedef struct Model { + node_idx root; + node_idx parent; // Parent SceneNode. +} Model; + +/// Create a new model. +Model* gfx_make_model(const SceneNode* root); + +/// Destroy the model. +void gfx_del_model(Model**); -- cgit v1.2.3