Begin refactor.
This commit is contained in:
@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user