diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-20 11:35:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-20 11:35:33 +0100 |
commit | 279f105246673c840e52cad8124f2add760e4d83 (patch) | |
tree | d85610551b11eaa417f1ded95b31a89a464b94e0 /core/math/vector3i.h | |
parent | 89ca0a1325f9652bd3ae913b1a58594d212c3e22 (diff) | |
parent | e031aa06ee37fb9bdaab63fdb2f0dabebcdbd3c2 (diff) |
Merge pull request #58321 from akien-mga/vector3-forward-declares
Diffstat (limited to 'core/math/vector3i.h')
-rw-r--r-- | core/math/vector3i.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/math/vector3i.h b/core/math/vector3i.h index d166de80aa..2a4c7e2e97 100644 --- a/core/math/vector3i.h +++ b/core/math/vector3i.h @@ -32,8 +32,9 @@ #define VECTOR3I_H #include "core/math/math_funcs.h" -#include "core/string/ustring.h" -#include "core/typedefs.h" + +class String; +struct Vector3; struct _NO_DISCARD_ Vector3i { enum Axis { @@ -105,6 +106,7 @@ struct _NO_DISCARD_ Vector3i { _FORCE_INLINE_ bool operator>=(const Vector3i &p_v) const; operator String() const; + operator Vector3() const; _FORCE_INLINE_ Vector3i() {} _FORCE_INLINE_ Vector3i(const int32_t p_x, const int32_t p_y, const int32_t p_z) { |