diff options
author | Zhehang Ding <zhehangd@gmail.com> | 2022-02-07 01:21:36 -0800 |
---|---|---|
committer | Zhehang Ding <zhehangd@gmail.com> | 2022-02-07 01:23:18 -0800 |
commit | df0e28fe43ae40efe13df1dacc8f2fc617cc1e4c (patch) | |
tree | fd4baacee675480755a6d96ff917920571558b7e /include/godot_cpp | |
parent | 24c94e4af0399f7a1f39738942a0b24adde39db6 (diff) | |
download | redot-cpp-df0e28fe43ae40efe13df1dacc8f2fc617cc1e4c.tar.gz |
Add missing Vector2::operator Vector2i()
Diffstat (limited to 'include/godot_cpp')
-rw-r--r-- | include/godot_cpp/variant/vector2.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/godot_cpp/variant/vector2.hpp b/include/godot_cpp/variant/vector2.hpp index f7ae8b0..56a2c95 100644 --- a/include/godot_cpp/variant/vector2.hpp +++ b/include/godot_cpp/variant/vector2.hpp @@ -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) { |