summaryrefslogtreecommitdiffhomepage
path: root/pose-widget/pose-widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-03-28 09:48:04 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-03-28 09:48:04 +0100
commit6187e16e33794925b57d602c62f37592e8dc8f70 (patch)
tree6efa944aa3ab8b8acf5b9a88899a5e09f92e7a32 /pose-widget/pose-widget.cpp
parente9f59b0fa1e6d9abdc832e241f4f43ac165db554 (diff)
pose-widget: change octopus X/Y scale
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 47053ed4..53ce5811 100644
--- a/pose-widget/pose-widget.cpp
+++ b/pose-widget/pose-widget.cpp
@@ -45,7 +45,7 @@ void pose_widget::paintEvent(QPaintEvent*)
t.translate(w*.5, h*.5);
constexpr double z_scale = 1./100;
- constexpr double xy_scale = 3./400;
+ constexpr double xy_scale = .0075;
double xy = std::sqrt(w*w + h*h) * xy_scale;
double s = clamp(.5 + -z * z_scale, .5, 2);