1
0
Fork 0

Context: Change unnamed structs to Lth_IVec2

master
Marrub 2016-10-18 19:39:30 -04:00
parent b550ec0668
commit d34139fb4d
2 changed files with 10 additions and 2 deletions

View File

@ -35,13 +35,13 @@
typedef struct Lth_Context
{
struct { Lth_Rect rects[16]; int num; } clip;
struct { int x, y; } lastmap;
struct { Lth_LinkList *head, *tail; } map;
Lth_IVec2 lastmap;
int w, h;
Lth_HIDRange hid;
struct { int x, y; } mapspace;
Lth_IVec2 mapspace;
} Lth_Context;

View File

@ -41,6 +41,14 @@ typedef struct Lth_Rect
int w, h;
} Lth_Rect;
//
// Lth_IVec2
//
typedef struct Lth_IVec2
{
int x, y;
} Lth_IVec2;
//
// Lth_HIDRange
//