summaryrefslogtreecommitdiffhomepage
path: root/pose-widget/pose-widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pose-widget/pose-widget.cpp')
-rw-r--r--pose-widget/pose-widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pose-widget/pose-widget.cpp b/pose-widget/pose-widget.cpp
index 54686114..8b5b66f6 100644
--- a/pose-widget/pose-widget.cpp
+++ b/pose-widget/pose-widget.cpp
@@ -34,7 +34,7 @@ void pose_widget::paintEvent(QPaintEvent*)
auto [ yaw, pitch, roll ] = R;
auto [ x, y, z ] = T;
- const QImage& img = std::fabs(pitch) > 90 ^ std::fabs(yaw) > 90
+ const QImage& img = (std::fabs(pitch) > 90) ^ (std::fabs(yaw) > 90)
? back
: front;