added limited rotation,

2 directions do not work
This commit is contained in:
Anakin
2017-01-07 12:46:06 +01:00
parent e963b7538e
commit 8c2ca44f20
3 changed files with 52 additions and 9 deletions

View File

@@ -31,6 +31,12 @@ private:
QVector2D position;
} m_mouse;
struct {
bool x = true;
bool y = true;
bool z = true;
} m_rotDirections;
QOpenGLShaderProgram m_program;
GeometryEngine *m_dataEngine;