Core: Move Vector2i to its own vector2i.h header

Also reduce interdependencies and clean up a bit.
This commit is contained in:
Rémi Verschelde
2022-02-04 15:35:14 +01:00
parent 5f56d385b0
commit e223bad86d
21 changed files with 340 additions and 245 deletions
+3
View File
@@ -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;