1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00
Files
godot/core
Ferenc Arn 97d510531a 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).
2017-03-29 12:04:49 -05:00
..
2017-03-13 21:17:31 +01:00
2017-03-29 12:04:49 -05:00
2016-07-05 16:52:31 +02:00
2016-05-29 11:37:52 -03:00
2017-03-05 16:44:50 +01:00
2017-03-13 21:17:31 +01:00
2017-03-05 16:44:50 +01:00
2017-03-05 16:44:50 +01:00
2017-03-13 21:17:31 +01:00