This commit is contained in:
Tenari
2026-06-22 08:12:58 -05:00
parent c1c529e27f
commit 7fe75ec768
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -72,6 +72,10 @@ fn void u32ReverseArray(u32 arr[], u32 size) {
}
}
fn bool vec2Eq(Vec2 a, Vec2 b) {
return a.x == b.x && a.y == b.y;
}
fn Vec2f32 vec2Add(Vec2 a, Vec2 b) {
Vec2f32 result = a;
result.x += b.x;