summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-18 17:54:52 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-18 17:54:52 +1100
commitd6d742f8a24490f885e4a1ae3fea7ec46b01f58c (patch)
tree858e12ecb3c4a624b8ec6225f4a0f6959caa2d32
parent28bd234a45995b62544e6b5f70d40dfe39ef2e99 (diff)
chore: format
-rw-r--r--src/core.c1
-rw-r--r--src/maths.c4
2 files changed, 1 insertions, 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 }; }