feat: add linux code style formatting
All checks were successful
CI / build (pull_request) Successful in 13s
CI / build (push) Successful in 13s

This commit was merged in pull request #5.
This commit is contained in:
2026-03-14 16:38:25 +01:00
parent 2885daf577
commit 79997dbce2
8 changed files with 834 additions and 25 deletions

View File

@@ -1,5 +0,0 @@
#include "curtle/linear_algebra.h"
vec2 vec2_add(vec2 a, vec2 b) {
return (vec2){a.x + b.x, a.y + b.y};
}

6
src/vector.c Normal file
View File

@@ -0,0 +1,6 @@
#include "curtle/vector.h"
struct vec2 vec2_add(struct vec2 a, struct vec2 b)
{
return (struct vec2){a.x + b.x, a.y + b.y};
}