Ver código fonte

Merge pull request #9566 from ayanchavand/migration-doc-update

Added xform() and xform_inv() function's changes in 4.0 migration docs
Max Hilbrunner 1 ano atrás
pai
commit
f1c9d28011
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      tutorials/migrating/upgrading_to_godot_4.rst

+ 1 - 0
tutorials/migrating/upgrading_to_godot_4.rst

@@ -437,6 +437,7 @@ table to find its new name.
 - Shortcut's ``is_valid()`` is now ``has_valid_event()``.
 - TileMap's ``world_to_map()`` is now ``local_to_map()``.
 - TileMap's ``map_to_world()`` is now ``map_to_local()``.
+- Transform2D's ``xform()`` is ``mat * vec`` and ``xform_inv()`` is ``vec * mat``.
 
 **Properties**