diff options
Diffstat (limited to 'src/events/render.hpp')
-rw-r--r-- | src/events/render.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/events/render.hpp b/src/events/render.hpp index 7bb45df..07f5d64 100644 --- a/src/events/render.hpp +++ b/src/events/render.hpp @@ -27,11 +27,20 @@ struct NewRenderEvent GLuint normal; unsigned int vertex; + NewRenderEvent() = default; NewRenderEvent(GLuint _vbo, GLuint _tex, GLuint _normal, unsigned int _vertex) : vbo(_vbo), tex(_tex), normal(_normal), vertex(_vertex) {} }; +struct DelRenderEvent +{ + GLuint vbo; + + DelRenderEvent(GLuint _vbo) : + vbo(_vbo) {} +}; + struct WorldMeshUpdateEvent { GLuint worldVBO; |