You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Set clang-format RemoveSemicolon rule to true
- Set clang-format `Standard` rule to `c++20`
This commit is contained in:
@@ -61,7 +61,7 @@ void XRPositionalTracker::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("input_float_changed", PropertyInfo(Variant::STRING, "name"), PropertyInfo(Variant::FLOAT, "value")));
|
||||
ADD_SIGNAL(MethodInfo("input_vector2_changed", PropertyInfo(Variant::STRING, "name"), PropertyInfo(Variant::VECTOR2, "vector")));
|
||||
ADD_SIGNAL(MethodInfo("profile_changed", PropertyInfo(Variant::STRING, "role")));
|
||||
};
|
||||
}
|
||||
|
||||
void XRPositionalTracker::set_tracker_profile(const String &p_profile) {
|
||||
if (profile != p_profile) {
|
||||
@@ -77,12 +77,12 @@ String XRPositionalTracker::get_tracker_profile() const {
|
||||
|
||||
XRPositionalTracker::TrackerHand XRPositionalTracker::get_tracker_hand() const {
|
||||
return tracker_hand;
|
||||
};
|
||||
}
|
||||
|
||||
void XRPositionalTracker::set_tracker_hand(const XRPositionalTracker::TrackerHand p_hand) {
|
||||
ERR_FAIL_INDEX(p_hand, TRACKER_HAND_MAX);
|
||||
tracker_hand = p_hand;
|
||||
};
|
||||
}
|
||||
|
||||
bool XRPositionalTracker::has_pose(const StringName &p_action_name) const {
|
||||
return poses.has(p_action_name);
|
||||
|
||||
Reference in New Issue
Block a user