summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_filter_accela
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-26 01:37:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-26 01:37:25 +0200
commitff2599f783cc556991e51ef68f260f0773bb50b7 (patch)
tree7f4a8e12b31042ba362d3b9e4930ee7bf0ed65b9 /ftnoir_filter_accela
parentd69f0da66b7ad9eb78174acf1c6844de61b34962 (diff)
accela: sadly, change scaling coefficient
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_filter_accela')
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.cpp b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
index abde4d46..29fe9067 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela.cpp
+++ b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
@@ -64,7 +64,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 * x * x;
+ return a1 * pow(x, 2.2);
}
void FTNoIR_Filter::FilterHeadPoseData(const double* target_camera_position,