diff options
Diffstat (limited to 'src/opengl_mesh.hh')
-rw-r--r-- | src/opengl_mesh.hh | 5 |
1 files changed, 3 insertions, 2 deletions
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 <QMatrix4x4> #include <QVector> -#include <QOpenGLFunctions> +#include <QOpenGLTexture> struct OpenGLMesh { GLuint vao, vbo; unsigned nverts; QMatrix4x4 mat; + QOpenGLTexture *tex; - OpenGLMesh(QVector<float> verts); + OpenGLMesh(QVector<float> verts, QOpenGLTexture *tex); }; |