godot/tools/editor/plugins
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
..
animation_player_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
animation_player_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
animation_tree_editor_plugin.cpp -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
animation_tree_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
baked_light_baker_cmpxchg.cpp Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
baked_light_baker.cpp Merge remote-tracking branch 'origin/gles3' into gles3-on-master 2017-01-02 21:52:26 +01:00
baked_light_baker.h Merge remote-tracking branch 'origin/gles3' into gles3-on-master 2017-01-02 21:52:26 +01:00
baked_light_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
baked_light_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
camera_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
camera_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
canvas_item_editor_plugin.cpp Various corrections in 2D math. 2017-01-10 10:14:20 -06:00
canvas_item_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
collision_polygon_2d_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
collision_polygon_2d_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
collision_polygon_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
collision_polygon_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
collision_shape_2d_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
collision_shape_2d_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
color_ramp_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
color_ramp_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
cube_grid_theme_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
cube_grid_theme_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_preview_plugins.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
editor_preview_plugins.h Merge remote-tracking branch 'origin/gles3' into gles3-on-master 2017-01-02 21:52:26 +01:00
gi_probe_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
gi_probe_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
item_list_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
item_list_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
light_occluder_2d_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
light_occluder_2d_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
material_editor_plugin.cpp Use right handed coordinate system for rotation matrices and quaternions. Also fixes Euler angles (XYZ convention, which is used as default by Blender). 2017-01-03 17:41:04 -06:00
material_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
mesh_editor_plugin.cpp Use right handed coordinate system for rotation matrices and quaternions. Also fixes Euler angles (XYZ convention, which is used as default by Blender). 2017-01-03 17:41:04 -06:00
mesh_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
mesh_instance_editor_plugin.cpp -Conversion of most properties to a simpler syntax, easier to use by script 2017-01-04 01:16:14 -03:00
mesh_instance_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
multimesh_editor_plugin.cpp Merge branch 'master' of https://github.com/godotengine/godot 2017-01-04 01:17:41 -03:00
multimesh_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
navigation_polygon_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
navigation_polygon_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
particles_2d_editor_plugin.cpp -Conversion of most properties to a simpler syntax, easier to use by script 2017-01-04 01:16:14 -03:00
particles_2d_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
particles_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
particles_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
path_2d_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
path_2d_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
path_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
path_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
polygon_2d_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
polygon_2d_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
resource_preloader_editor_plugin.cpp Begin modifying properties to make them more friendly to script and doc. 2017-01-03 00:38:16 -03:00
resource_preloader_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
rich_text_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
rich_text_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
sample_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
sample_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
sample_library_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
sample_library_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
sample_player_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
sample_player_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
script_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
script_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
script_text_editor.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
script_text_editor.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
shader_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
shader_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
shader_graph_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
shader_graph_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
spatial_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
spatial_editor_plugin.h -Conversion of most properties to a simpler syntax, easier to use by script 2017-01-04 01:16:14 -03:00
sprite_frames_editor_plugin.cpp -Conversion of most properties to a simpler syntax, easier to use by script 2017-01-04 01:16:14 -03:00
sprite_frames_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
stream_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
stream_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
style_box_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
style_box_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
texture_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
texture_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
texture_region_editor_plugin.cpp -Conversion of most properties to a simpler syntax, easier to use by script 2017-01-04 01:16:14 -03:00
texture_region_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
theme_editor_plugin.cpp -Conversion of most properties to a simpler syntax, easier to use by script 2017-01-04 01:16:14 -03:00
theme_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
tile_map_editor_plugin.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
tile_map_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
tile_set_editor_plugin.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
tile_set_editor_plugin.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00