diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-26 23:11:53 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-27 01:05:52 +0200 |
commit | f1362d67a6c8c845b4ecdfe4bef3bb2ab18f4898 (patch) | |
tree | 8a0441f58ba824a9589bbf4c7624f1e8fd4fd908 /ftnoir_filter_accela | |
parent | a2a32cda8e2ed8931a04a20d7422a45538c6c8b3 (diff) |
following hz change, choose different accela factor
Diffstat (limited to 'ftnoir_filter_accela')
-rw-r--r-- | ftnoir_filter_accela/ftnoir_filter_accela.cpp | 3 |
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,
|