blob: 63c6aa15b9164aa2787f3f0883f9daf714eff15f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
struct Rect
{
Rect(float x = 0, float y = 0, float w = 0, float h = 0)
{
this->x = x;
this->y = y;
this->width = w;
this->height = h;
}
float x, y, width, height;
};
|