Merge pull request #10782 from hpvb/fix-gdnative-10778

Remove 10778 related methods from GDNative
This commit is contained in:
Rémi Verschelde 2017-08-30 12:57:21 +02:00 committed by GitHub
commit fdc1a907b8
2 changed files with 0 additions and 24 deletions

View file

@ -107,24 +107,6 @@ godot_basis GDAPI godot_basis_scaled(const godot_basis *p_self, const godot_vect
return dest;
}
void GDAPI godot_basis_set_scale(godot_basis *p_self, const godot_vector3 *p_scale) {
Basis *self = (Basis *)p_self;
const Vector3 *scale = (const Vector3 *)p_scale;
self->set_scale(*scale);
}
void GDAPI godot_basis_set_rotation_euler(godot_basis *p_self, const godot_vector3 *p_euler) {
Basis *self = (Basis *)p_self;
const Vector3 *euler = (const Vector3 *)p_euler;
self->set_rotation_euler(*euler);
}
void GDAPI godot_basis_set_rotation_axis_angle(godot_basis *p_self, const godot_vector3 *p_axis, const godot_real p_angle) {
Basis *self = (Basis *)p_self;
const Vector3 *axis = (const Vector3 *)p_axis;
self->set_rotation_axis_angle(*axis, p_angle);
}
godot_vector3 GDAPI godot_basis_get_scale(const godot_basis *p_self) {
godot_vector3 dest;
const Basis *self = (const Basis *)p_self;

View file

@ -67,12 +67,6 @@ godot_basis GDAPI godot_basis_rotated(const godot_basis *p_self, const godot_vec
godot_basis GDAPI godot_basis_scaled(const godot_basis *p_self, const godot_vector3 *p_scale);
void GDAPI godot_basis_set_scale(godot_basis *p_self, const godot_vector3 *p_scale);
void GDAPI godot_basis_set_rotation_euler(godot_basis *p_self, const godot_vector3 *p_euler);
void GDAPI godot_basis_set_rotation_axis_angle(godot_basis *p_self, const godot_vector3 *p_axis, const godot_real p_angle);
godot_vector3 GDAPI godot_basis_get_scale(const godot_basis *p_self);
godot_vector3 GDAPI godot_basis_get_euler(const godot_basis *p_self);