summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-04-14 05:34:23 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-04-14 06:16:42 +0200
commitfd8df2acc588fabc6022664f292b6353b2b7bf07 (patch)
tree62f8c3a8d77627407bc5a71f29d979da78037888 /tracker-wii
parentc9a486401d6d2fb71034b456854f4fe7e8478f6d (diff)
tracker/wii: kill unused variables
Diffstat (limited to 'tracker-wii')
-rw-r--r--tracker-wii/wii_camera.h3
-rw-r--r--tracker-wii/wii_frame.hpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/tracker-wii/wii_camera.h b/tracker-wii/wii_camera.h
index ab728564..3d0ad1aa 100644
--- a/tracker-wii/wii_camera.h
+++ b/tracker-wii/wii_camera.h
@@ -49,8 +49,7 @@ private:
state_change_flags changed,
const wiimote_state &new_state);
bool onExit = false;
- pt_frame internalframe;
-
+
wii_camera_status pair();
wii_camera_status get_frame(cv::Mat& Frame);
bool get_points(struct wii_info& wii);
diff --git a/tracker-wii/wii_frame.hpp b/tracker-wii/wii_frame.hpp
index 336e811d..5d6dd199 100644
--- a/tracker-wii/wii_frame.hpp
+++ b/tracker-wii/wii_frame.hpp
@@ -57,8 +57,7 @@ struct WIIPreview final : pt_preview
private:
static void ensure_size(cv::Mat& frame, int w, int h, int type);
- bool fresh = true;
- cv::Mat frame_copy, frame_color, frame_resize, frame_out;
+ cv::Mat frame_copy, frame_out;
wii_camera_status status;
};