From 5f56d385b04f4054ec86605fcda56ffeed4ca5f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 4 Feb 2022 13:28:02 +0100 Subject: Core: Move Rect2i to its own `rect2i.h` header And take the opportunity to improve interdependencies a bit with forward declares where possible. --- core/variant/method_ptrcall.h | 1 - core/variant/variant.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'core/variant') diff --git a/core/variant/method_ptrcall.h b/core/variant/method_ptrcall.h index 75a93ac4c8..d0acf60c22 100644 --- a/core/variant/method_ptrcall.h +++ b/core/variant/method_ptrcall.h @@ -31,7 +31,6 @@ #ifndef METHOD_PTRCALL_H #define METHOD_PTRCALL_H -#include "core/math/transform_2d.h" #include "core/object/object_id.h" #include "core/typedefs.h" #include "core/variant/variant.h" diff --git a/core/variant/variant.h b/core/variant/variant.h index 36fa755647..c8b3aa702f 100644 --- a/core/variant/variant.h +++ b/core/variant/variant.h @@ -39,8 +39,11 @@ #include "core/math/face3.h" #include "core/math/plane.h" #include "core/math/quaternion.h" +#include "core/math/rect2.h" +#include "core/math/rect2i.h" #include "core/math/transform_2d.h" #include "core/math/transform_3d.h" +#include "core/math/vector2.h" #include "core/math/vector3.h" #include "core/math/vector3i.h" #include "core/object/object_id.h" -- cgit v1.2.3