Преглед на файлове

Updated upgrading_to_godot_4 documentation.

- Added xform and xform_inv's change to use * operator.
- Provided better details on the changes.
Ayan Chavand преди 1 година
родител
ревизия
e47792d353
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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**