diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-27 07:49:08 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-27 07:49:08 +0100 |
commit | 56a78f48547081a1b20977596d842dadb710210e (patch) | |
tree | 22a682bb70ee6f3108f53ccca6d417b40026b036 /ftnoir_tracker_pt/camera.cpp | |
parent | 48a8485317a90687e51419fe32c512cd1ebb2943 (diff) |
pt: remove manual camera rotation declaration
We do it in core. And if we don't, we have to!
Issue: #63
Diffstat (limited to 'ftnoir_tracker_pt/camera.cpp')
-rw-r--r-- | ftnoir_tracker_pt/camera.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/ftnoir_tracker_pt/camera.cpp b/ftnoir_tracker_pt/camera.cpp index fec503e1..e427f54e 100644 --- a/ftnoir_tracker_pt/camera.cpp +++ b/ftnoir_tracker_pt/camera.cpp @@ -302,29 +302,3 @@ void VICamera::_set_res() if (active) restart(); } #endif - -// ---------------------------------------------------------------------------- -Mat FrameRotation::rotate_frame(Mat frame) -{ - switch (rotation) - { - case CLOCKWISE: - { - Mat dst; - transpose(frame, dst); - flip(dst, dst, 1); - return dst; - } - - case COUNTER_CLOCKWISE: - { - Mat dst; - transpose(frame, dst); - flip(dst, dst, 0); - return dst; - } - - default: - return frame; - } -} |