Add gl_drawline_points to util.c
This commit is contained in:
@@ -13,6 +13,9 @@ typedef struct {
|
|||||||
uint8_t r, g, b;
|
uint8_t r, g, b;
|
||||||
} rgb_t;
|
} rgb_t;
|
||||||
|
|
||||||
|
#define gl_drawline_points(p0, p1, w, col) \
|
||||||
|
gl_drawline(p0[0], p0[1], p1[0], p1[1], w, col);
|
||||||
|
|
||||||
/*----------------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
bool is_alive(cl_entity_t* ent);
|
bool is_alive(cl_entity_t* ent);
|
||||||
|
|||||||
Reference in New Issue
Block a user