diff options
Diffstat (limited to 'src/mmscene.h')
| -rw-r--r-- | src/mmscene.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mmscene.h b/src/mmscene.h index d68af98..78df57a 100644 --- a/src/mmscene.h +++ b/src/mmscene.h @@ -14,6 +14,9 @@ public: MMScene(QQuickItem *parent = 0); ~MMScene(); +public slots: + void mousePressed(int x, int y); + protected: /** * @brief paintUnderQmlScene @@ -75,6 +78,26 @@ private: GLSphere *m_sphere; GLDisc *m_disc; + + /** + * @brief m_MouseNear + * The near point of a mouse click or movement. + * Needed in synchronizeThreads(). + */ + QVector3D m_MouseNear; + + /** + * @brief m_MouseNear + * The far point of a mouse click or movement. + * Needed in synchronizeThreads(). + */ + QVector3D m_mouseFar; + + /** + * @brief m_lastIntersection + * The last intersection of the mouse line with the chessboard. + */ + QVector3D m_lastIntersection; }; #endif // MMSCENE_H |
