1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#pragma once #include <gfx/scene/model.h> #include "memory.h" /// Model. typedef struct Model { node_idx root; } Model; /// Create a new model. Model* gfx_make_model(const SceneNode* root); /// Destroy the model. void gfx_del_model(Model**);