diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-06-14 18:33:34 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-06-14 18:33:34 +0200 |
commit | 379f05cbaa02d328b538134a719f3a6a2400d6c6 (patch) | |
tree | b90224ef350aa292b15f0529c49990dd75a8ab2e /ftnoir_filter_ewma2 | |
parent | 8e6d217dca098b5b508dc09185abeda3331fc4e7 (diff) |
update lerp api in filters
Diffstat (limited to 'ftnoir_filter_ewma2')
-rw-r--r-- | ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp index dcc1475c..d3cb2c32 100644 --- a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp +++ b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp @@ -71,7 +71,7 @@ void FTNoIR_Filter::FilterHeadPoseData(const double *target_camera_position, for (int i=0;i<6;i++) { delta[i] = 0.0; noise[i] = 0.0; - l.write(target_camera_position, new_camera_position); + l.write(target_camera_position, target_camera_position, new_camera_position); } first_run=false; return; @@ -100,7 +100,7 @@ void FTNoIR_Filter::FilterHeadPoseData(const double *target_camera_position, } } - l.write(pos, new_camera_position); + l.write(target_camera_position, pos, new_camera_position); } extern "C" FTNOIR_FILTER_BASE_EXPORT IFilter* CALLING_CONVENTION GetConstructor() |