From a285294d7f4c0eef5cf69992f86b8c732df84609 Mon Sep 17 00:00:00 2001 From: Moses Turner <moses@collabora.com> Date: Sat, 17 Sep 2022 09:08:27 -0500 Subject: [PATCH] h/mercury: Fix crop calculation for 180 degree rotations --- src/xrt/tracking/hand/mercury/hg_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/tracking/hand/mercury/hg_model.cpp b/src/xrt/tracking/hand/mercury/hg_model.cpp index 240890eb6..6729f9d51 100644 --- a/src/xrt/tracking/hand/mercury/hg_model.cpp +++ b/src/xrt/tracking/hand/mercury/hg_model.cpp @@ -624,7 +624,7 @@ calc_src_tri(cv::Point2f center, } break; case CAMERA_ORIENTATION_180: { // top left (becomes bottom right) - out_src_tri[0] = bottom_left; + out_src_tri[0] = bottom_right; // bottom left (becomes top right) out_src_tri[1] = top_right;