diff options
author | Ferenc Arn <tagcup@yahoo.com> | 2017-03-29 11:51:31 -0500 |
---|---|---|
committer | Ferenc Arn <tagcup@yahoo.com> | 2017-03-29 12:04:49 -0500 |
commit | 97d510531a56acba1898a863efe113bf24acc0a2 (patch) | |
tree | b353e10ee5bfcd38ef9d2d95d0b40a37a44d0f7a /editor/icons/2x/icon_sprite_frames.png | |
parent | 000e8730088ed241439a311c1bd0167f741ffbd1 (diff) |
Fix polar decomposition in 2D.
When performing polar decomposition in 2D as B = R.S, where R is rotation (with determinant +1) and S is scaling, use the convention that reflections are absorbed into S through a reflection around y axis.
In 3D, this is done by using a reflection along all three axes, but since the dimensionality is even in 2D, one axis needs to be chosen.
Fixes Matrix32::get_rotation and Matrix32::get_scale (which weren't properly fixed in #7445).
Diffstat (limited to 'editor/icons/2x/icon_sprite_frames.png')
0 files changed, 0 insertions, 0 deletions