summaryrefslogtreecommitdiff
path: root/modules/gdnative/gdnative_api.json
diff options
context:
space:
mode:
authorChaosus <chaosus89@gmail.com>2019-07-23 18:14:58 +0300
committerChaosus <chaosus89@gmail.com>2019-07-24 11:16:20 +0300
commitbf237f651c09f4670baa84610ec41e2a36b1a6a4 (patch)
tree86345fe541d7c23aa01f35852c478a30281e9808 /modules/gdnative/gdnative_api.json
parentaa062c54fcdac6a17e38f3678c886779bce325f9 (diff)
Added direction_to to GDNative
Diffstat (limited to 'modules/gdnative/gdnative_api.json')
-rw-r--r--modules/gdnative/gdnative_api.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/gdnative/gdnative_api.json b/modules/gdnative/gdnative_api.json
index 7372990d5f..8dcea26a7b 100644
--- a/modules/gdnative/gdnative_api.json
+++ b/modules/gdnative/gdnative_api.json
@@ -64,6 +64,22 @@
["godot_int", "p_from"],
["godot_int", "p_to"]
]
+ },
+ {
+ "name": "godot_vector3_direction_to",
+ "return_type": "godot_vector3",
+ "arguments": [
+ ["const godot_vector3 *", "p_self"],
+ ["const godot_vector3 *", "p_to"]
+ ]
+ },
+ {
+ "name": "godot_vector2_direction_to",
+ "return_type": "godot_vector2",
+ "arguments": [
+ ["const godot_vector2 *", "p_self"],
+ ["const godot_vector2 *", "p_to"]
+ ]
}
]
},