summaryrefslogtreecommitdiffstats
path: root/src/datavis3d/utils/camerahelper_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/datavis3d/utils/camerahelper_p.h')
-rw-r--r--src/datavis3d/utils/camerahelper_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datavis3d/utils/camerahelper_p.h b/src/datavis3d/utils/camerahelper_p.h
index e63061a2..68e7e5a2 100644
--- a/src/datavis3d/utils/camerahelper_p.h
+++ b/src/datavis3d/utils/camerahelper_p.h
@@ -82,7 +82,8 @@ class CameraHelper
// Calcluate light position based on rotation. Call after calling calculateViewMatrix to get
// up-to-date position
static QVector3D calculateLightPosition(const QVector3D &lightPosition,
- float fixedRotation = 0.0f);
+ GLfloat fixedRotation = 0.0f,
+ GLfloat distanceModifier = 0.0f);
static void updateMousePos(const QPoint &mousePos);
static void setCameraPreset(CameraPreset preset);
};