Browse Source

fixed forward declarations

Nickolai Korshunov 7 years ago
parent
commit
7adae4673c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      include/core/Rect2.hpp
  2. 1 1
      include/core/Transform2D.hpp

+ 1 - 1
include/core/Rect2.hpp

@@ -14,7 +14,7 @@ class String;
 typedef Vector2 Size2;
 typedef Vector2 Point2;
 
-class Transform2D;
+struct Transform2D;
 
 struct Rect2 {
 

+ 1 - 1
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":