diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-02-04 13:28:02 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-02-04 14:17:30 +0100 |
commit | 5f56d385b04f4054ec86605fcda56ffeed4ca5f4 (patch) | |
tree | f606c9f62240abfd7c30c2916b9f096c032649a3 /core/math/transform_2d.cpp | |
parent | 89eb6d372d83f0e79ff7bcc78c304a37bed72abe (diff) |
Core: Move Rect2i to its own `rect2i.h` header
And take the opportunity to improve interdependencies a bit with forward
declares where possible.
Diffstat (limited to 'core/math/transform_2d.cpp')
-rw-r--r-- | core/math/transform_2d.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/math/transform_2d.cpp b/core/math/transform_2d.cpp index 0201cf575c..e6e24e9b32 100644 --- a/core/math/transform_2d.cpp +++ b/core/math/transform_2d.cpp @@ -30,6 +30,8 @@ #include "transform_2d.h" +#include "core/string/ustring.h" + void Transform2D::invert() { // FIXME: this function assumes the basis is a rotation matrix, with no scaling. // Transform2D::affine_inverse can handle matrices with scaling, so GDScript should eventually use that. |