summaryrefslogtreecommitdiffstats
path: root/editor/editor_atlas_packer.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-02-04 15:35:14 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-02-04 16:32:21 +0100
commite223bad86d6e5225aa205394d047714a92610967 (patch)
tree2ae7abe5edfd503d72e74f51040f15472c8c342c /editor/editor_atlas_packer.cpp
parent5f56d385b04f4054ec86605fcda56ffeed4ca5f4 (diff)
downloadredot-engine-e223bad86d6e5225aa205394d047714a92610967.tar.gz
Core: Move Vector2i to its own `vector2i.h` header
Also reduce interdependencies and clean up a bit.
Diffstat (limited to 'editor/editor_atlas_packer.cpp')
-rw-r--r--editor/editor_atlas_packer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_atlas_packer.cpp b/editor/editor_atlas_packer.cpp
index b6ec5d1bad..aad32968de 100644
--- a/editor/editor_atlas_packer.cpp
+++ b/editor/editor_atlas_packer.cpp
@@ -30,6 +30,9 @@
#include "editor_atlas_packer.h"
+#include "core/math/vector2.h"
+#include "core/math/vector2i.h"
+
void EditorAtlasPacker::_plot_triangle(Ref<BitMap> p_bitmap, Vector2i *vertices) {
int width = p_bitmap->get_size().width;
int height = p_bitmap->get_size().height;