summaryrefslogtreecommitdiff
path: root/modules/gdnative/godot/godot_transform.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-06-08 10:31:13 +0200
committerGitHub <noreply@github.com>2017-06-08 10:31:13 +0200
commit01ed55987c4c044191e50ecc94c277b97962ffc7 (patch)
tree64cb8baaaf48259cd00dee76f3c62e530e360080 /modules/gdnative/godot/godot_transform.h
parentd985dd6aedb855b6ea4ffa75756108aa4fee3518 (diff)
parent8ecdbfc417409c9c8080580f3963e2397f8bdb78 (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.h6
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);