summaryrefslogtreecommitdiff
path: root/core/variant
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-02-04 13:28:02 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-02-04 14:17:30 +0100
commit5f56d385b04f4054ec86605fcda56ffeed4ca5f4 (patch)
treef606c9f62240abfd7c30c2916b9f096c032649a3 /core/variant
parent89eb6d372d83f0e79ff7bcc78c304a37bed72abe (diff)
Core: Move Rect2i to its own `rect2i.h` header
And take the opportunity to improve interdependencies a bit with forward declares where possible.
Diffstat (limited to 'core/variant')
-rw-r--r--core/variant/method_ptrcall.h1
-rw-r--r--core/variant/variant.h3
2 files changed, 3 insertions, 1 deletions
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"