You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Style: Apply new changes from clang-format 8.0
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
This commit is contained in:
@@ -196,7 +196,8 @@ void BodySW::set_param(PhysicsServer::BodyParameter p_param, real_t p_value) {
|
||||
|
||||
angular_damp = p_value;
|
||||
} break;
|
||||
default: {}
|
||||
default: {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,7 +227,8 @@ real_t BodySW::get_param(PhysicsServer::BodyParameter p_param) const {
|
||||
return angular_damp;
|
||||
} break;
|
||||
|
||||
default: {}
|
||||
default: {
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
@@ -474,7 +476,8 @@ void BodySW::integrate_forces(real_t p_step) {
|
||||
_compute_area_gravity_and_dampenings(aa[i].area);
|
||||
stopped = mode == PhysicsServer::AREA_SPACE_OVERRIDE_REPLACE;
|
||||
} break;
|
||||
default: {}
|
||||
default: {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user