diff options
Diffstat (limited to 'src/events/world.hpp')
-rw-r--r-- | src/events/world.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/events/world.hpp b/src/events/world.hpp index 41b9569..e5969c0 100644 --- a/src/events/world.hpp +++ b/src/events/world.hpp @@ -31,9 +31,13 @@ struct WorldChangeEvent struct WorldMeshUpdateEvent { GLuint worldVBO; + unsigned int numVertex; + GLuint worldTexture; + GLuint worldNormal; - WorldMeshUpdateEvent(GLuint v) : - worldVBO(v) {} + WorldMeshUpdateEvent(GLuint v, unsigned int p, + GLuint t, GLuint n) : + worldVBO(v), numVertex(p), worldTexture(t), worldNormal(n) {} }; #endif//EVENTS_WORLD_HPP |