From a6d3f3d779b031f8ca70510abe90fade909a8d0d Mon Sep 17 00:00:00 2001 From: ccolin Date: Sat, 26 Dec 2020 01:21:28 +0100 Subject: textures and whatnot i forgot to commit for a while lol --- src/opengl_mesh.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/opengl_mesh.hh') diff --git a/src/opengl_mesh.hh b/src/opengl_mesh.hh index e3b8ad2..5038816 100644 --- a/src/opengl_mesh.hh +++ b/src/opengl_mesh.hh @@ -3,15 +3,16 @@ #include #include -#include +#include struct OpenGLMesh { GLuint vao, vbo; unsigned nverts; QMatrix4x4 mat; + QOpenGLTexture *tex; - OpenGLMesh(QVector verts); + OpenGLMesh(QVector verts, QOpenGLTexture *tex); }; -- cgit v1.2.3-70-g09d2