From 7adae4673c7c351501e20d60b7158bec37c97783 Mon Sep 17 00:00:00 2001 From: Nickolai Korshunov Date: Fri, 23 Feb 2018 14:39:35 +0300 Subject: [PATCH] fixed forward declarations --- include/core/Rect2.hpp | 2 +- include/core/Transform2D.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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":