From 56a78f48547081a1b20977596d842dadb710210e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Oct 2014 07:49:08 +0100 Subject: pt: remove manual camera rotation declaration We do it in core. And if we don't, we have to! Issue: #63 --- ftnoir_tracker_pt/camera.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'ftnoir_tracker_pt/camera.cpp') 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; - } -} -- cgit v1.2.3