Begin refactor.

This commit is contained in:
2021-09-18 23:13:05 -07:00
parent 98daedced9
commit 6904a46bec
143 changed files with 1706 additions and 2345 deletions

View File

@ -10,6 +10,24 @@
#include "sphere.h"
#include "../input/input.h"
typedef struct {
float hitX;
float hitY;
float normalX;
float normalY;
} aabbpointhit2d_t;
typedef struct {
float time;
float normalX;
float normalY;
float hitX;
float hitY;
} aabbvectorhit2d_t;
/**
* Perform a test against a point and an AABB.
*