1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00

16 lines
262 B
C

typedef struct {
int x;
int y;
} PointStruct;
static inline PointStruct PointMake(int x, int y) {
PointStruct point;
point.x = x;
point.y = y;
return point;
}
static inline void PointSet(PointStruct *point, int x, int y) {
point->x = x;
point->y = y;
}