summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.cpp b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
index 29fe9067..781b3ba0 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela.cpp
+++ b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
@@ -49,6 +49,7 @@ void FTNoIR_Filter::loadSettings() {
{
scaling[i] = iniFile.value(QString("axis-%1").arg(QString::number(i)), init_scaling[i]).toDouble();
}
+
iniFile.endGroup();
}
@@ -64,7 +65,7 @@ void FTNoIR_Filter::receiveSettings(double rot, double trans, double zoom_fac)
static inline double parabola(const double a, const double x)
{
const double a1 = 1./a;
- return a1 * pow(x, 2.2);
+ return a1 * pow(x, 2.025);
}
void FTNoIR_Filter::FilterHeadPoseData(const double* target_camera_position,