diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-06-08 10:31:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-08 10:31:13 +0200 |
commit | 01ed55987c4c044191e50ecc94c277b97962ffc7 (patch) | |
tree | 64cb8baaaf48259cd00dee76f3c62e530e360080 /modules/gdnative/godot/godot_transform.h | |
parent | d985dd6aedb855b6ea4ffa75756108aa4fee3518 (diff) | |
parent | 8ecdbfc417409c9c8080580f3963e2397f8bdb78 (diff) |
Merge pull request #9058 from touilleMan/gdnative-clean-and-add-properties
Continue improving GDNative
Diffstat (limited to 'modules/gdnative/godot/godot_transform.h')
-rw-r--r-- | modules/gdnative/godot/godot_transform.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/gdnative/godot/godot_transform.h b/modules/gdnative/godot/godot_transform.h index b15efc23b8..ee87e1d33f 100644 --- a/modules/gdnative/godot/godot_transform.h +++ b/modules/gdnative/godot/godot_transform.h @@ -51,6 +51,12 @@ typedef struct godot_transform { void GDAPI godot_transform_new_with_axis_origin(godot_transform *r_dest, const godot_vector3 *p_x_axis, const godot_vector3 *p_y_axis, const godot_vector3 *p_z_axis, const godot_vector3 *p_origin); void GDAPI godot_transform_new(godot_transform *r_dest, const godot_basis *p_basis, const godot_vector3 *p_origin); +godot_basis GDAPI godot_transform_get_basis(const godot_transform *p_self); +void GDAPI godot_transform_set_basis(godot_transform *p_self, godot_basis *p_v); + +godot_vector3 GDAPI godot_transform_get_origin(const godot_transform *p_self); +void GDAPI godot_transform_set_origin(godot_transform *p_self, godot_vector3 *p_v); + godot_string GDAPI godot_transform_as_string(const godot_transform *p_self); godot_transform GDAPI godot_transform_inverse(const godot_transform *p_self); |