Core: Move Vector2i to its own vector2i.h header
Also reduce interdependencies and clean up a bit.
This commit is contained in:
parent
5f56d385b0
commit
e223bad86d
21 changed files with 340 additions and 245 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -31,11 +31,12 @@
|
|||
#ifndef EDITOR_ATLAS_PACKER_H
|
||||
#define EDITOR_ATLAS_PACKER_H
|
||||
|
||||
#include "core/math/vector2.h"
|
||||
|
||||
#include "core/templates/vector.h"
|
||||
#include "scene/resources/bit_map.h"
|
||||
|
||||
struct Vector2;
|
||||
struct Vector2i;
|
||||
|
||||
class EditorAtlasPacker {
|
||||
public:
|
||||
struct Chart {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue