From 4505fb6585885866ff9a76f76c00ed727d3bb818 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Tue, 30 Jul 2024 15:46:38 +1000 Subject: wip --- src/core/core.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/core/core.c') 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 -- cgit v1.2.3-70-g09d2