import msh file,
problems: it is not correctly displayed (vertice and what happend to the texture?) todo: improve the import, remove unused garbage, add move and zoom function
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "..\Header\FileInterface.h"
|
||||
#include <QOpenGLFunctions>
|
||||
#include <QOpenGLShaderProgram>
|
||||
#include <QOpenGLBuffer>
|
||||
@@ -17,6 +17,9 @@ private:
|
||||
QOpenGLBuffer m_indexBuf;
|
||||
QVector<QOpenGLTexture*> m_textures;
|
||||
|
||||
QVector<Model*>* m_models = Q_NULLPTR;
|
||||
QVector<std::string>* m_textureNames = Q_NULLPTR; //TODO: remove, use it local and only hold the textures itself
|
||||
|
||||
void initCubeGeometry();
|
||||
void initTexture();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user