fixed backface culling bug,
todo: connect headligh
This commit is contained in:
@@ -36,7 +36,7 @@ private:
|
||||
void clearData();
|
||||
|
||||
public:
|
||||
void drawGeometry(QOpenGLShaderProgram *program, bool wireframe);
|
||||
void drawGeometry(QOpenGLShaderProgram *program);
|
||||
void loadFile(QString filePath);
|
||||
|
||||
// signals
|
||||
|
@@ -27,6 +27,7 @@ private:
|
||||
|
||||
bool m_wireframe = false;
|
||||
bool m_lightOn = false;
|
||||
bool m_backfaceCulling = false;
|
||||
|
||||
struct {
|
||||
QVector4D position = { 1,1,1,0 };
|
||||
|
Reference in New Issue
Block a user