diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-18 17:54:52 +1100 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-18 17:54:52 +1100 |
commit | d6d742f8a24490f885e4a1ae3fea7ec46b01f58c (patch) | |
tree | 858e12ecb3c4a624b8ec6225f4a0f6959caa2d32 | |
parent | 28bd234a45995b62544e6b5f70d40dfe39ef2e99 (diff) |
chore: format
-rw-r--r-- | src/core.c | 1 | ||||
-rw-r--r-- | src/maths.c | 4 |
2 files changed, 1 insertions, 4 deletions
@@ -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 }; } |