diff --git a/src/srender.h b/src/srender.h index d1e5496..8be6797 100644 --- a/src/srender.h +++ b/src/srender.h @@ -17,7 +17,8 @@ typedef enum { SRndrCmdTypeFrame = 0, SRndrCmdTypeGrid, SRndrCmdTypeCube, - SRndrCmdTypeSphere + SRndrCmdTypeSphere, + SrndrCmdTypePoint, } SRndrCmdType; typedef struct srcmd { @@ -67,6 +68,12 @@ void srndr_render(srndr* srndr, srview* sview, srcmdbuf* scmdbuf); #include "utils.h" typedef struct srndr { + struct { + simd4f* pos; + simd4f* color; + GLuint num_points; + GLuint points_vbo_id; + } point_buf; } srndr; typedef struct srview {