mirror of
https://github.com/Relintai/gdnative.git
synced 2024-11-14 04:57:22 +01:00
Added missing method.
This commit is contained in:
parent
e08254b154
commit
1cadbeb735
@ -115,7 +115,6 @@ pandemonium_vector3i GDAPI pandemonium_vector3i_clamp(const pandemonium_vector3i
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
pandemonium_vector3i GDAPI pandemonium_vector3i_operator_add(const pandemonium_vector3i *p_self, const pandemonium_vector3i *p_b) {
|
||||
pandemonium_vector3i raw_dest;
|
||||
Vector3i *dest = (Vector3i *)&raw_dest;
|
||||
@ -188,6 +187,13 @@ pandemonium_bool GDAPI pandemonium_vector3i_operator_less(const pandemonium_vect
|
||||
return *self < *b;
|
||||
}
|
||||
|
||||
pandemonium_vector3 GDAPI pandemonium_vector3i_to_vector3(const pandemonium_vector3i *p_self) {
|
||||
pandemonium_vector3 dest;
|
||||
const Vector3i *self = (const Vector3i *)p_self;
|
||||
*((Vector3 *)&dest) = self->to_vector3();
|
||||
return dest;
|
||||
}
|
||||
|
||||
pandemonium_string GDAPI pandemonium_vector3i_as_string(const pandemonium_vector3i *p_self) {
|
||||
pandemonium_string ret;
|
||||
const Vector3i *self = (const Vector3i *)p_self;
|
||||
|
@ -101,6 +101,8 @@ pandemonium_vector3i GDAPI pandemonium_vector3i_operator_neg(const pandemonium_v
|
||||
pandemonium_bool GDAPI pandemonium_vector3i_operator_equal(const pandemonium_vector3i *p_self, const pandemonium_vector3i *p_b);
|
||||
pandemonium_bool GDAPI pandemonium_vector3i_operator_less(const pandemonium_vector3i *p_self, const pandemonium_vector3i *p_b);
|
||||
|
||||
pandemonium_vector3 GDAPI pandemonium_vector3i_to_vector3(const pandemonium_vector3i *p_self);
|
||||
|
||||
pandemonium_string GDAPI pandemonium_vector3i_as_string(const pandemonium_vector3i *p_self);
|
||||
|
||||
void GDAPI pandemonium_vector3i_new(pandemonium_vector3i *r_dest, const pandemonium_int p_x, const pandemonium_int p_y, const pandemonium_int p_z);
|
||||
|
Loading…
Reference in New Issue
Block a user