summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/variant
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-02-19 16:31:32 +0100
committerGitHub <noreply@github.com>2022-02-19 16:31:32 +0100
commit917b0c2ca3e8363082d62acdc7dc73d77b1c68ec (patch)
tree40f5ea8b599d011a1a11b0fd447ce2f00dc8343f /include/godot_cpp/variant
parent6a464b53f1cba8f17f7d423cfe9b4b5a92c538d7 (diff)
parentdf0e28fe43ae40efe13df1dacc8f2fc617cc1e4c (diff)
downloadredot-cpp-917b0c2ca3e8363082d62acdc7dc73d77b1c68ec.tar.gz
Merge pull request #688 from zhehangd/master
Diffstat (limited to 'include/godot_cpp/variant')
-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 05ba72f..72b45e3 100644
--- a/include/godot_cpp/variant/vector2.hpp
+++ b/include/godot_cpp/variant/vector2.hpp
@@ -153,6 +153,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) {