summaryrefslogtreecommitdiff
path: root/src/core/core.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-26 17:20:13 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-26 17:20:13 +1000
commitaa1eeebb1c05edc22335cbb48af5d42be20750c0 (patch)
treecc0ef4dc620cb8621fd1a3762b7205b7a16401dc /src/core/core.c
parentf083cacb259054ce996b70f8b9dc0d9eb0bdbfb8 (diff)
moving some maths functions to implementation file
Diffstat (limited to 'src/core/core.c')
-rw-r--r--src/core/core.c12
1 files changed, 5 insertions, 7 deletions
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