Add missing Vector3::operator Vector3i
parent
4dddd0b55b
commit
24c94e4af0
|
@ -31,6 +31,7 @@
|
|||
#include <godot_cpp/core/error_macros.hpp>
|
||||
#include <godot_cpp/variant/basis.hpp>
|
||||
#include <godot_cpp/variant/vector3.hpp>
|
||||
#include <godot_cpp/variant/vector3i.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
|
@ -121,4 +122,8 @@ Vector3::operator String() const {
|
|||
return (String::num(x, 5) + ", " + String::num(y, 5) + ", " + String::num(z, 5));
|
||||
}
|
||||
|
||||
Vector3::operator Vector3i() const {
|
||||
return Vector3i(x, y, z);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
|
|
Loading…
Reference in New Issue