diff options
| author | Hein-Pieter van Braam | 2017-08-30 12:54:59 +0200 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2017-08-30 12:54:59 +0200 |
| commit | ec634382319a6e9f4ddb36aca64c3fc376572026 (patch) | |
| tree | 227421fd87e1f043580bba434c1a7b4fca7f559a /modules/gdnative/godot/basis.cpp | |
| parent | 98ad0e5a024d3c6d9097548f139b3b2bb05e0e8e (diff) | |
| download | godot-ec634382319a6e9f4ddb36aca64c3fc376572026.tar.gz godot-ec634382319a6e9f4ddb36aca64c3fc376572026.tar.zst godot-ec634382319a6e9f4ddb36aca64c3fc376572026.zip | |
Diffstat (limited to 'modules/gdnative/godot/basis.cpp')
| -rw-r--r-- | modules/gdnative/godot/basis.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/modules/gdnative/godot/basis.cpp b/modules/gdnative/godot/basis.cpp index 8433355c1..1d7aa18a7 100644 --- a/modules/gdnative/godot/basis.cpp +++ b/modules/gdnative/godot/basis.cpp @@ -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; |
