summaryrefslogtreecommitdiffhomepage
path: root/pose-widget
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-10-06 08:30:38 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-10-06 08:30:38 +0200
commite25458c41baa82406bd4c3c6d9ec2db3c0c141f0 (patch)
treefcb034c4682d7fc7b2157c5fc53cee65994c368e /pose-widget
parent66a3c8907179e0ca43cdda7530ada6e1275d1c0d (diff)
pose-widget: fix incorrect Z scaling
Diffstat (limited to 'pose-widget')
-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 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;