Merge branch 'main' of yibble.dev:bulmanator/ld58

Fixed conflicts
Added "code" directory for include to make it easier to include core
headers
Stopped warnings (probably cl specific)
This commit is contained in:
2025-10-04 21:58:14 +01:00
19 changed files with 366 additions and 20 deletions

18
code/game/aabb.h Normal file
View File

@@ -0,0 +1,18 @@
#if !defined(LD_GAME_AABB_H_)
#define LD_GAME_AABB_H_
#include "../core/types.h"
#include "../core/macros.h"
typedef struct AABB AABB;
struct AABB {
V2f pos;
V2f size;
};
function bool AABB_Collide(AABB a, AABB b);
function bool AABB_Point(AABB a, V2f v);
#endif // LD_GAME_AABB_H_