godot/tools
Ferenc Arn f271591ac2 Various corrections in 2D math.
This is the follow up for the 2D changes mentioned in PR #6865. It fixes various mistakes regarding the order of matrix indices, order of transformation operations, usage of atan2 function and ensures that the sense of rotation is compatible with a left-handed coordinate system with Y-axis pointing down (which flips the sense of rotations along the z-axis). Also replaced float with real_t, and tried to make use of Matrix32 methods rather than accessing its elements directly.

Affected code in the Godot code base is also fixed in this commit.

The user code using functions involving angles such as atan2, angle_to, get_rotation, set_rotation will need to be updated to conform with the new behavior. Furthermore, the sign of the rotation angles in existing 2D scene files need to be flipped as well.
2017-01-10 10:14:20 -06:00
..
certs -Made editor support SSL certs by default (embedded them) 2016-03-12 10:46:38 -03:00
collada -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
dist Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
doc -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
editor Various corrections in 2D math. 2017-01-10 10:14:20 -06:00
editor_fonts Fonts: add missing license information 2016-07-16 11:53:57 +02:00
scripts Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
translations Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
SCsub style: Various other PEP8 fixes in Python files 2016-11-01 00:35:16 +01:00