mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-28 17:38:27 +00:00
h/mercury: Fix crop calculation for 180 degree rotations
This commit is contained in:
parent
0ddf3e0e19
commit
a285294d7f
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue