Add gl_drawline_points to util.c
This commit is contained in:
parent
fba031944e
commit
797c2183e2
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue