From d6d742f8a24490f885e4a1ae3fea7ec46b01f58c Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Fri, 18 Oct 2024 17:54:52 +1100 Subject: chore: format --- src/core.c | 1 - src/maths.c | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/core.c b/src/core.c index e1ffeab..ed09597 100644 --- a/src/core.c +++ b/src/core.c @@ -36,7 +36,6 @@ void core_bringup(const char* window_name, struct GLFWwindow* optional_window) { g_core.window = glfw_window; } - // This may move into a renderer struct ral_backend_init(window_name, g_core.window); diff --git a/src/maths.c b/src/maths.c index 10fa9e0..c1fab2a 100644 --- a/src/maths.c +++ b/src/maths.c @@ -2,9 +2,7 @@ vec3 vec3_create(f32 x, f32 y, f32 z) { return (vec3){ x, y, z }; } -vec3 vec3_add(vec3 u, vec3 v) { - return (vec3){ .x = u.x + v.x, .y = u.y + v.y, .z = u.z + v.z }; -} +vec3 vec3_add(vec3 u, vec3 v) { return (vec3){ .x = u.x + v.x, .y = u.y + v.y, .z = u.z + v.z }; } vec4 vec4_create(f32 x, f32 y, f32 z, f32 w) { return (vec4){ x, y, z, w }; } -- cgit v1.2.3-70-g09d2