diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-04-09 07:54:31 +0300 |
---|---|---|
committer | Mika Salmela <mika.salmela@digia.com> | 2013-04-09 09:34:15 +0300 |
commit | 19ad20b9f5f8ee6fe11fdcc6391f45afba8300bc (patch) | |
tree | d1f4361e39438b8db3d4bbd4b2230d9b4e7ea6c8 /src/datavis3d/utils/camerahelper_p.h | |
parent | ea7a56dfd964e1dd8990973fb26601a0e97d4e8e (diff) |
Disallowed rotating the zoom scene
Change-Id: I540a7718eb7652069eabb60747098001d79d6914
Reviewed-by: Mika Salmela <mika.salmela@digia.com>
Diffstat (limited to 'src/datavis3d/utils/camerahelper_p.h')
-rw-r--r-- | src/datavis3d/utils/camerahelper_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datavis3d/utils/camerahelper_p.h b/src/datavis3d/utils/camerahelper_p.h index f6153def..d5b1e206 100644 --- a/src/datavis3d/utils/camerahelper_p.h +++ b/src/datavis3d/utils/camerahelper_p.h @@ -67,7 +67,8 @@ public: , int screenWidth, int screenHeight); // Calcluate light position based on rotation. Call after calling calculateViewMatrix to get // up-to-date position - static QVector3D calculateLightPosition(const QVector3D &lightPosition); + static QVector3D calculateLightPosition(const QVector3D &lightPosition + , float fixedRotation = 0.0f); static void updateMousePos(const QPoint &mousePos); }; |