diff --git a/include/core/Rect2.hpp b/include/core/Rect2.hpp index 792972d..7668548 100644 --- a/include/core/Rect2.hpp +++ b/include/core/Rect2.hpp @@ -14,7 +14,7 @@ class String; typedef Vector2 Size2; typedef Vector2 Point2; -class Transform2D; +struct Transform2D; struct Rect2 { diff --git a/include/core/Transform2D.hpp b/include/core/Transform2D.hpp index f3bc5fb..4273752 100644 --- a/include/core/Transform2D.hpp +++ b/include/core/Transform2D.hpp @@ -8,7 +8,7 @@ namespace godot { typedef Vector2 Size2; -class Rect2; +struct Rect2; struct Transform2D { // Warning #1: basis of Transform2D is stored differently from Basis. In terms of elements array, the basis matrix looks like "on paper":