summaryrefslogtreecommitdiffstats
path: root/core/math/transform_2d.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-02-04 16:05:30 +0100
committerGitHub <noreply@github.com>2022-02-04 16:05:30 +0100
commit8495be9cece924b22a8148ce335d04836027bc40 (patch)
tree7808ce5fd0594fe76526a9192b497c418c36ce63 /core/math/transform_2d.cpp
parent721c32ee2bb15ca16692dee848fc3190ed0b6a49 (diff)
parent5f56d385b04f4054ec86605fcda56ffeed4ca5f4 (diff)
downloadredot-engine-8495be9cece924b22a8148ce335d04836027bc40.tar.gz
Merge pull request #57621 from akien-mga/core-split-rect2i-own-header
Diffstat (limited to 'core/math/transform_2d.cpp')
-rw-r--r--core/math/transform_2d.cpp2
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.