diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-02-04 13:28:02 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-02-04 14:17:30 +0100 |
commit | 5f56d385b04f4054ec86605fcda56ffeed4ca5f4 (patch) | |
tree | f606c9f62240abfd7c30c2916b9f096c032649a3 /core/math/camera_matrix.h | |
parent | 89eb6d372d83f0e79ff7bcc78c304a37bed72abe (diff) | |
download | redot-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.h | 10 |
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 { |