fixed camera control,
removed test exe
This commit is contained in:
@@ -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:
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user