diff options
Diffstat (limited to 'src/core/core.c')
-rw-r--r-- | src/core/core.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/core.c b/src/core/core.c index fffb43d..b18b807 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -78,4 +78,8 @@ Core* get_global_core() { return &g_core; } GLFWwindow* Core_GetGlfwWindowPtr(Core* core) { return g_core.window; } -struct Renderer* Core_GetRenderer(Core* core) { return core->renderer; }
\ No newline at end of file +struct Renderer* Core_GetRenderer(Core* core) { return core->renderer; } + +Model* Model_Get(ModelHandle h) { + return Model_pool_get(&g_core.models, h); +}
\ No newline at end of file |