diff options
-rw-r--r-- | pose-widget/pose-widget.cpp | 2 |
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; |