diff options
Diffstat (limited to 'src/datavisualization/engine/q3dcamera_p.h')
-rw-r--r-- | src/datavisualization/engine/q3dcamera_p.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/datavisualization/engine/q3dcamera_p.h b/src/datavisualization/engine/q3dcamera_p.h index 8c160d8c..e0528dcc 100644 --- a/src/datavisualization/engine/q3dcamera_p.h +++ b/src/datavisualization/engine/q3dcamera_p.h @@ -44,7 +44,12 @@ public: void sync(Q3DCamera &other); - void setRotations(const QPointF &rotation); + void setXRotation(qreal rotation); + void setYRotation(qreal rotation); + void setMinXRotation(qreal rotation); + void setMinYRotation(qreal rotation); + void setMaxXRotation(qreal rotation); + void setMaxYRotation(qreal rotation); void updateViewMatrix(qreal zoomAdjustment); @@ -59,6 +64,12 @@ public: GLfloat m_xRotation; GLfloat m_yRotation; + GLfloat m_minXRotation; + GLfloat m_minYRotation; + GLfloat m_maxXRotation; + GLfloat m_maxYRotation; + bool m_wrapXRotation; + bool m_wrapYRotation; int m_zoomLevel; QDataVis::CameraPreset m_activePreset; |