Add missing Vector2::operator Vector2i()

This commit is contained in:
Zhehang Ding
2022-02-07 01:21:36 -08:00
parent 24c94e4af0
commit df0e28fe43
2 changed files with 6 additions and 0 deletions

View File

@@ -151,6 +151,7 @@ public:
real_t aspect() const { return width / height; }
operator String() const;
operator Vector2i() const;
inline Vector2() {}
inline Vector2(real_t p_x, real_t p_y) {