merge master to miami

This commit is contained in:
Nikolay Korolev
2021-01-01 14:53:20 +03:00
18 changed files with 1173 additions and 88 deletions

View File

@ -42,13 +42,30 @@ public:
bottom += y;
top += y;
}
void Grow(float r){
void Grow(float r) {
left -= r;
right += r;
top -= r;
bottom += r;
}
void Grow(float l, float r)
{
left -= l;
top -= l;
right += r;
bottom += r;
}
void Grow(float l, float r, float t, float b)
{
left -= l;
top -= t;
right += r;
bottom += b;
}
float GetWidth(void) { return right - left; }
float GetHeight(void) { return bottom - top; }
};