Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -25,9 +25,8 @@ bool FindTriangle(serial::OutPointsT const & test, P arr[])
{
for (int base = 0; base < 3; ++base)
{
if (IsEqual(test[i], arr[base])
&& IsEqual(test[i + 1], arr[(base + 1) % 3])
&& IsEqual(test[i + 2], arr[(base + 2) % 3]))
if (IsEqual(test[i], arr[base]) && IsEqual(test[i + 1], arr[(base + 1) % 3]) &&
IsEqual(test[i + 2], arr[(base + 2) % 3]))
{
return true;
}
@@ -94,11 +93,8 @@ UNIT_TEST(TrianglesCoding_Smoke)
UNIT_TEST(TrianglesCoding_Rect)
{
P arrP[] = {
P(-16.874999848078005, -44.999999874271452),
P(-16.874999848078005, -39.374999869032763),
P(-11.249999842839316, -39.374999869032763),
P(-11.249999842839316, -44.999999874271452)};
P arrP[] = {P(-16.874999848078005, -44.999999874271452), P(-16.874999848078005, -39.374999869032763),
P(-11.249999842839316, -39.374999869032763), P(-11.249999842839316, -44.999999874271452)};
int arrT[][3] = {{2, 0, 1}, {0, 2, 3}};