diff options
Diffstat (limited to 'core/math/transform_2d.h')
-rw-r--r-- | core/math/transform_2d.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/core/math/transform_2d.h b/core/math/transform_2d.h index 752a885eba..f4546c13c8 100644 --- a/core/math/transform_2d.h +++ b/core/math/transform_2d.h @@ -31,9 +31,14 @@ #ifndef TRANSFORM_2D_H #define TRANSFORM_2D_H -#include "core/math/rect2.h" // also includes vector2, math_funcs, and ustring +#include "core/math/math_funcs.h" +#include "core/math/rect2.h" +#include "core/math/vector2.h" +#include "core/templates/vector.h" -struct Transform2D { +class String; + +struct _NO_DISCARD_ Transform2D { // Warning #1: basis of Transform2D is stored differently from Basis. In terms of elements array, the basis matrix looks like "on paper": // M = (elements[0][0] elements[1][0]) // (elements[0][1] elements[1][1]) |