diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-10-06 08:30:38 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-10-06 08:30:38 +0200 |
commit | e25458c41baa82406bd4c3c6d9ec2db3c0c141f0 (patch) | |
tree | fcb034c4682d7fc7b2157c5fc53cee65994c368e | |
parent | 66a3c8907179e0ca43cdda7530ada6e1275d1c0d (diff) |
pose-widget: fix incorrect Z scaling
-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 340e05d4..bf25a490 100644 --- a/pose-widget/pose-widget.cpp +++ b/pose-widget/pose-widget.cpp @@ -44,7 +44,7 @@ void pose_widget::paintEvent(QPaintEvent*) t.translate(w*.5, h*.5); - constexpr double z_scale = 1./5; + constexpr double z_scale = 1./250; constexpr double xy_scale = .0075; double xy = std::sqrt(w*w + h*h) * xy_scale; |