summaryrefslogtreecommitdiffstats
path: root/core/math/camera_matrix.h
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/math/camera_matrix.h
parent89eb6d372d83f0e79ff7bcc78c304a37bed72abe (diff)
downloadredot-engine-5f56d385b04f4054ec86605fcda56ffeed4ca5f4.tar.gz
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/math/camera_matrix.h')
-rw-r--r--core/math/camera_matrix.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/math/camera_matrix.h b/core/math/camera_matrix.h
index da1aba7562..4b7a4c9346 100644
--- a/core/math/camera_matrix.h
+++ b/core/math/camera_matrix.h
@@ -31,8 +31,14 @@
#ifndef CAMERA_MATRIX_H
#define CAMERA_MATRIX_H
-#include "core/math/rect2.h"
-#include "core/math/transform_3d.h"
+#include "core/math/math_defs.h"
+#include "core/math/vector3.h"
+
+class AABB;
+class Plane;
+class Transform3D;
+struct Rect2;
+struct Vector2;
struct CameraMatrix {
enum Planes {