diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-12-10 10:30:37 +0000 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-12-10 10:30:45 +0000 |
commit | e40ab065996b08382bc74f314b8a49c970cbc056 (patch) | |
tree | e766c73aa57ba23157ee2a8b097de464e9aa8230 /modules | |
parent | 70c435272a3e7fa0071ede65bbcfa06223d93df9 (diff) |
Rename TrackerHand enums
Renames:
TRACKER_LEFT_HAND -> TRACKER_HAND_LEFT
TRACKER_RIGHT_HAND -> TRACKER_HAND_RIGHT
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdnative/xr/xr_interface_gdnative.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdnative/xr/xr_interface_gdnative.cpp b/modules/gdnative/xr/xr_interface_gdnative.cpp index d03fc33935..a21fefb6a2 100644 --- a/modules/gdnative/xr/xr_interface_gdnative.cpp +++ b/modules/gdnative/xr/xr_interface_gdnative.cpp @@ -305,9 +305,9 @@ godot_int GDAPI godot_xr_add_controller(char *p_device_name, godot_int p_hand, g new_tracker->set_name(p_device_name); new_tracker->set_type(XRServer::TRACKER_CONTROLLER); if (p_hand == 1) { - new_tracker->set_hand(XRPositionalTracker::TRACKER_LEFT_HAND); + new_tracker->set_hand(XRPositionalTracker::TRACKER_HAND_LEFT); } else if (p_hand == 2) { - new_tracker->set_hand(XRPositionalTracker::TRACKER_RIGHT_HAND); + new_tracker->set_hand(XRPositionalTracker::TRACKER_HAND_RIGHT); } // also register as joystick... |