fixed camera control,

removed test exe
This commit is contained in:
Anakin
2017-02-05 12:34:24 +01:00
parent a07d8acbec
commit 2d335474bf
6 changed files with 79 additions and 39 deletions

View File

@@ -10,9 +10,11 @@ public:
// attributes
private:
QVector4D m_direction;
QVector4D m_position;
QVector3D m_up;
QVector3D m_position;
double m_phi;
double m_theta;
int m_forwardSpeed;
int m_sidewardSpeed;
// functions
public:

View File

@@ -66,6 +66,7 @@ protected:
void wheelEvent(QWheelEvent *e) Q_DECL_OVERRIDE;
void keyPressEvent(QKeyEvent *e) Q_DECL_OVERRIDE;
void keyReleaseEvent(QKeyEvent *e) Q_DECL_OVERRIDE;
void dragEnterEvent(QDragEnterEvent *e) Q_DECL_OVERRIDE;
void dropEvent(QDropEvent * event) Q_DECL_OVERRIDE;