mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 07:09:45 +00:00
ps2 hud, restore original code
This commit is contained in:
@ -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; }
|
||||
};
|
||||
|
Reference in New Issue
Block a user