From aa1eeebb1c05edc22335cbb48af5d42be20750c0 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Fri, 26 Jul 2024 17:20:13 +1000 Subject: moving some maths functions to implementation file --- src/core/core.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/core/core.c') diff --git a/src/core/core.c b/src/core/core.c index a46e395..44db7b1 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -74,12 +74,10 @@ void Frame_Begin() { void Frame_Draw() {} void Frame_End() { Render_FrameEnd(g_core.renderer); } -Core* get_global_core() { - return &g_core; -} +Core* get_global_core() { return &g_core; } -GLFWwindow* Core_GetGlfwWindowPtr(Core* core) { - return g_core.window; -} +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; +} \ No newline at end of file -- cgit v1.2.3-70-g09d2