From 797c2183e27aa322861f175c6c7403200b6f6fd2 Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Sun, 23 Jul 2023 14:35:52 +0200 Subject: [PATCH] Add gl_drawline_points to util.c --- src/include/util.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/util.h b/src/include/util.h index 5df1dc6..421e82f 100644 --- a/src/include/util.h +++ b/src/include/util.h @@ -13,6 +13,9 @@ typedef struct { uint8_t r, g, b; } 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);