diff options
author | Giacom <giacomand@gmail.com> | 2019-04-07 22:40:56 +0100 |
---|---|---|
committer | Giacom <giacomand@gmail.com> | 2019-05-28 11:39:35 +0100 |
commit | c00427add34f505cff275ea33423f1053423d646 (patch) | |
tree | 9fef14ccadd219e7050de28394a53e72209268ce /modules/gdnative/gdnative_api.json | |
parent | 252c841d7ff5d770e8d2819e4f7955363410744b (diff) | |
download | redot-engine-c00427add34f505cff275ea33423f1053423d646.tar.gz |
Added move_toward functions for float, Vector2 and Vector3
Diffstat (limited to 'modules/gdnative/gdnative_api.json')
-rw-r--r-- | modules/gdnative/gdnative_api.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/gdnative/gdnative_api.json b/modules/gdnative/gdnative_api.json index 8afe988102..52c989037e 100644 --- a/modules/gdnative/gdnative_api.json +++ b/modules/gdnative/gdnative_api.json @@ -26,6 +26,24 @@ ["const godot_dictionary *", "p_self"], ["const godot_bool", "p_deep"] ] + }, + { + "name": "godot_vector3_move_toward", + "return_type": "godot_vector3", + "arguments": [ + ["const godot_vector3 *", "p_self"], + ["const godot_vector3 *", "p_to"], + ["const godot_real", "p_delta"] + ] + }, + { + "name": "godot_vector2_move_toward", + "return_type": "godot_vector2", + "arguments": [ + ["const godot_vector2 *", "p_self"], + ["const godot_vector2 *", "p_to"], + ["const godot_real", "p_delta"] + ] } ] }, |