Now using floats instead of ints

This commit is contained in:
AnonymusRaccoon
2020-01-03 13:47:25 +01:00
parent c9f363aed9
commit b23039ac96
+6 -6
View File
@@ -15,8 +15,8 @@ typedef struct quadtree quadtree;
typedef struct qt_intrect typedef struct qt_intrect
{ {
int x; float x;
int y; float y;
int h; int h;
int w; int w;
} qt_intrect; } qt_intrect;
@@ -29,10 +29,10 @@ typedef struct qt_object
typedef struct qt_collision typedef struct qt_collision
{ {
int distance_left; float distance_left;
int distance_right; float distance_right;
int distance_top; float distance_top;
int distance_down; float distance_down;
} qt_collision; } qt_collision;
struct quadtree struct quadtree