diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-02-04 15:35:14 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-02-04 16:32:21 +0100 |
commit | e223bad86d6e5225aa205394d047714a92610967 (patch) | |
tree | 2ae7abe5edfd503d72e74f51040f15472c8c342c /editor/editor_atlas_packer.cpp | |
parent | 5f56d385b04f4054ec86605fcda56ffeed4ca5f4 (diff) | |
download | redot-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.cpp | 3 |
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; |