#ifndef VECTOR2I_H #define VECTOR2I_H #include struct Vector2i { int x; int y; Vector2i(godot::Vector2 v) : x(static_cast(v.x)), y(static_cast(v.y)) {} bool any_zero() const { return x == 0 || y == 0; } }; #endif // VECTOR2I_H