feat: add linux code style formatting
This commit was merged in pull request #5.
This commit is contained in:
@@ -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
6
src/vector.c
Normal 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};
|
||||
}
|
||||
Reference in New Issue
Block a user