From c950737122cd88e1183896614d4276e219c3c158 Mon Sep 17 00:00:00 2001 From: Omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Thu, 9 May 2024 10:57:07 +1000 Subject: stuff --- src/core.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') diff --git a/src/core.c b/src/core.c index 714505f..a853637 100644 --- a/src/core.c +++ b/src/core.c @@ -53,6 +53,15 @@ core* core_bringup() { return c; } +#include +#include "input.h" +#include "render.h" + +bool should_window_close(core *core) { glfwWindowShouldClose(core->renderer.window); } +void core_input_update(core *core) { input_update(&core->input); } +void core_frame_begin(core* core) { render_frame_begin(&core->renderer); } +void core_frame_end(core* core) { render_frame_end(&core->renderer); } + void core_shutdown(core* core) { // threadpool_destroy(&core->threadpool); input_system_shutdown(&core->input); -- cgit v1.2.3-70-g09d2