summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp
diff options
context:
space:
mode:
authorZhehang Ding <zhehangd@gmail.com>2022-02-07 01:21:36 -0800
committerZhehang Ding <zhehangd@gmail.com>2022-02-07 01:23:18 -0800
commitdf0e28fe43ae40efe13df1dacc8f2fc617cc1e4c (patch)
treefd4baacee675480755a6d96ff917920571558b7e /include/godot_cpp
parent24c94e4af0399f7a1f39738942a0b24adde39db6 (diff)
downloadredot-cpp-df0e28fe43ae40efe13df1dacc8f2fc617cc1e4c.tar.gz
Add missing Vector2::operator Vector2i()
Diffstat (limited to 'include/godot_cpp')
-rw-r--r--include/godot_cpp/variant/vector2.hpp1
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) {