virtualx-engine/tools/editor
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
..
fileserver Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
icons Merge remote-tracking branch 'origin/gles3' into gles3-on-master 2017-01-02 21:52:26 +01:00
io_plugins -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
plugins Various corrections in 2D math. 2017-01-10 10:14:20 -06:00
animation_editor.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
animation_editor.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
array_property_edit.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
array_property_edit.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
asset_library_editor_plugin.cpp -Conversion of most properties to a simpler syntax, easier to use by script 2017-01-04 01:16:14 -03:00
asset_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
call_dialog.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
call_dialog.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
code_editor.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
code_editor.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
connections_dialog.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
connections_dialog.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
create_dialog.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
create_dialog.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
dependency_editor.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
dependency_editor.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
doc_code_font.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
doc_font.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
doc_title_font.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
editor_asset_installer.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_asset_installer.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_autoload_settings.cpp -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
editor_autoload_settings.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_data.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_data.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_dir_dialog.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
editor_dir_dialog.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_file_dialog.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
editor_file_dialog.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_file_system.cpp -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
editor_file_system.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_fonts.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
editor_fonts.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
editor_help.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
editor_help.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_icons.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
editor_import_export.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
editor_import_export.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_initialize_ssl.cpp Merge remote-tracking branch 'origin/gles3' into gles3-on-master 2017-01-02 21:52:26 +01:00
editor_initialize_ssl.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
editor_log.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_log.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_name_dialog.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_name_dialog.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_node.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
editor_node.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_path.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_path.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
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
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_plugin_settings.cpp -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
editor_plugin_settings.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_profiler.cpp -Conversion of most properties to a simpler syntax, easier to use by script 2017-01-04 01:16:14 -03:00
editor_profiler.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_reimport_dialog.cpp Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
editor_reimport_dialog.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_resource_preview.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
editor_resource_preview.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_run.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
editor_run.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
editor_run_native.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_run_native.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_run_script.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_run_script.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_scale.cpp -Added VeryLowDPI and MidDPI modes to Godot editor. 2016-09-13 11:05:47 -03:00
editor_scale.h -Added VeryLowDPI and MidDPI modes to Godot editor. 2016-09-13 11:05:47 -03:00
editor_settings.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
editor_settings.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_sub_scene.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_sub_scene.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
editor_themes.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
editor_themes.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
file_type_cache.cpp -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
file_type_cache.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
filesystem_dock.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
filesystem_dock.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
groups_editor.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
groups_editor.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
inspector_dock.cpp Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
inspector_dock.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
multi_node_edit.cpp Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
multi_node_edit.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
node_dock.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
node_dock.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
output_strings.cpp -Conversion of most properties to a simpler syntax, easier to use by script 2017-01-04 01:16:14 -03:00
output_strings.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
pane_drag.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
pane_drag.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
progress_dialog.cpp -Conversion of most properties to a simpler syntax, easier to use by script 2017-01-04 01:16:14 -03:00
progress_dialog.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
project_export.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
project_export.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
project_manager.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
project_manager.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
project_settings.cpp -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
project_settings.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
property_editor.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
property_editor.h -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
property_selector.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
property_selector.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
pvrtc_compress.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
pvrtc_compress.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
quick_open.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
quick_open.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
register_exporters.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
reparent_dialog.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
reparent_dialog.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
resources_dock.cpp -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
resources_dock.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
run_settings_dialog.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
run_settings_dialog.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
scene_tree_dock.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
scene_tree_dock.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
scene_tree_editor.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
scene_tree_editor.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
script_create_dialog.cpp -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
script_create_dialog.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_debugger.cpp -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
script_editor_debugger.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: Various other PEP8 fixes in Python files 2016-11-01 00:35:16 +01:00
settings_config_dialog.cpp Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
settings_config_dialog.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_gizmos.cpp ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
spatial_editor_gizmos.h ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00