working on changing the texture names to materials,

problems with call by value/reference
This commit is contained in:
Anakin
2017-01-15 12:26:15 +01:00
parent f469dff656
commit 6ead5d7bc6
8 changed files with 125 additions and 77 deletions

View File

@@ -25,11 +25,10 @@ public:
private:
QOpenGLBuffer m_arrayBuf;
QOpenGLBuffer m_indexBuf;
QVector<QOpenGLTexture*> m_textures;
QVector<Material>* m_materials = Q_NULLPTR;
QVector<DrawInformation> m_drawList;
BoundingBox m_boundings;
void loadTexture(QString filePath, QString fileName);
void clearData();
public slots:
@@ -40,6 +39,6 @@ signals:
void requestResetView();
void sendMessage(QString message, int severity);
void requestUpdate();
void sendFileInfo(QString name, QStringList textures, int vertices, int triangle);
void sendFileInfo(QString name, QVector<Material>* materials, int vertices, int triangle);
};