20 lines
401 B
C++
20 lines
401 B
C++
#ifndef MODEL_SHADER_PROGRAM_H
|
|
#define MODEL_SHADER_PROGRAM_H
|
|
#include <QOpenGLShaderProgram>
|
|
|
|
class ModelShaderProgram : public QOpenGLShaderProgram
|
|
{
|
|
public:
|
|
ModelShaderProgram();
|
|
int projMatrixLoc();
|
|
int mvMatrixLoc();
|
|
int normalMatrixLoc();
|
|
int lightPosLoc();
|
|
private:
|
|
int m_projMatrixLoc;
|
|
int m_mvMatrixLoc;
|
|
int m_normalMatrixLoc;
|
|
int m_lightPosLoc;
|
|
};
|
|
|
|
#endif |