virtualx-engine/servers
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
..
audio -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
physics -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
physics_2d Various corrections in 2D math. 2017-01-10 10:14:20 -06:00
spatial_sound ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
spatial_sound_2d ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
visual Merge branch 'master' of https://github.com/godotengine/godot 2017-01-05 09:18:03 -03:00
audio_server.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
audio_server.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
physics_2d_server.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
physics_2d_server.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
physics_server.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
physics_server.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
register_server_types.cpp -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
register_server_types.h 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
server_wrap_mt_common.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
spatial_sound_2d_server.cpp Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
spatial_sound_2d_server.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
spatial_sound_server.cpp Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
spatial_sound_server.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
visual_server.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
visual_server.h -Conversion of most properties to a simpler syntax, easier to use by script 2017-01-04 01:16:14 -03:00