mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #10782 from hpvb/fix-gdnative-10778
Remove 10778 related methods from GDNative
This commit is contained in:
commit
fdc1a907b8
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user