Refactor Layout Manager
This commit is contained in:
parent
7cf3328a40
commit
54dcbcb46b
28 changed files with 408 additions and 123 deletions
|
|
@ -63,7 +63,7 @@ namespace tp {
|
|||
for (Index i = 0; i < mSize.x; i++) {
|
||||
const auto lenIdx = mSize.y - 1;
|
||||
for (Index j = 0; j < mSize.y / 2; j++) {
|
||||
swap(get({i, j}), get({i, lenIdx - j}));
|
||||
swapV(get({ i, j }), get({ i, lenIdx - j }));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -72,7 +72,7 @@ namespace tp {
|
|||
for (Index i = 0; i < mSize.y; i++) {
|
||||
const auto lenIdx = mSize.x - 1;
|
||||
for (Index j = 0; j < mSize.x / 2; j++) {
|
||||
swap(get({i, j}), get({i, lenIdx - j}));
|
||||
swapV(get({ i, j }), get({ i, lenIdx - j }));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue