diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-13 23:59:07 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-13 23:59:07 +0200 |
commit | ee18bc05ae54bd4b9a959ef544181dd8f597d955 (patch) | |
tree | da5045cbd013f7411b1aac0b31a6cf6dcb26b34e /filter-kalman | |
parent | c772987dde5c42aa7f236ac7708f6e7d063d4aa7 (diff) |
pose-widget: avoid too small denominator in perpendicular alignment
With a very small denominator in barycentric coords formula we get a
dissociated octopus that took PCP and LSD in one sitting.
A dead Octopus is just a bunch of blue spheres.
IOW, in division with too small a denominator operand the results are
numerically unstable.
This is done in the constructor in a convoluted way as to avoid
branching during calculating for each pixel.
Issue: #356
Reported-by: @MathijsG
Diffstat (limited to 'filter-kalman')
0 files changed, 0 insertions, 0 deletions