Use forward declares for vector math types
Adds operators to convert from int vector types to float vector types as done in the upstream engine implementations.
This commit is contained in:
@@ -32,11 +32,11 @@
|
||||
#define GODOT_VECTOR3_HPP
|
||||
|
||||
#include <godot_cpp/core/math.hpp>
|
||||
#include <godot_cpp/variant/string.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
class Basis;
|
||||
class String;
|
||||
class Vector3i;
|
||||
|
||||
class Vector3 {
|
||||
@@ -159,7 +159,6 @@ public:
|
||||
y = p_y;
|
||||
z = p_z;
|
||||
}
|
||||
Vector3(const Vector3i &p_ivec);
|
||||
};
|
||||
|
||||
Vector3 Vector3::cross(const Vector3 &p_b) const {
|
||||
|
||||
Reference in New Issue
Block a user