Add gl_drawline_points to util.c

This commit is contained in:
8dcc 2023-07-23 14:35:52 +02:00
parent fba031944e
commit 797c2183e2
1 changed files with 3 additions and 0 deletions

View File

@ -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);