raycast start

This commit is contained in:
2025-10-04 17:36:47 +01:00
parent 394366480b
commit c8dfcd857e
5 changed files with 107 additions and 75 deletions

View File

@@ -3,15 +3,14 @@
#include "../core/types.h"
#include "../core/macros.h"
typedef struct AABB AABB;
struct 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_
#endif // LD_GAME_AABB_H_