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_accela | |
parent | 8e6d217dca098b5b508dc09185abeda3331fc4e7 (diff) |
update lerp api in filters
Diffstat (limited to 'ftnoir_filter_accela')
-rw-r--r-- | ftnoir_filter_accela/ftnoir_filter_accela.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.cpp b/ftnoir_filter_accela/ftnoir_filter_accela.cpp index a82ff077..b07290e2 100644 --- a/ftnoir_filter_accela/ftnoir_filter_accela.cpp +++ b/ftnoir_filter_accela/ftnoir_filter_accela.cpp @@ -32,7 +32,7 @@ void FTNoIR_Filter::FilterHeadPoseData(const double* target_camera_position, {
for (int j = 0; j < 3; j++)
last_output[j][i] = target_camera_position[i];
- l.write(target_camera_position, new_camera_position);
+ l.write(target_camera_position, target_camera_position, new_camera_position);
}
first_run = false;
@@ -63,7 +63,7 @@ void FTNoIR_Filter::FilterHeadPoseData(const double* target_camera_position, }
}
- l.write(last_output[0], new_camera_position);
+ l.write(target_camera_position, last_output[0], new_camera_position);
}
extern "C" FTNOIR_FILTER_BASE_EXPORT IFilter* CALLING_CONVENTION GetConstructor()
|