summaryrefslogtreecommitdiff
path: root/Client/Source/Math/Rect.h
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Source/Math/Rect.h')
-rw-r--r--Client/Source/Math/Rect.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Client/Source/Math/Rect.h b/Client/Source/Math/Rect.h
new file mode 100644
index 0000000..63c6aa1
--- /dev/null
+++ b/Client/Source/Math/Rect.h
@@ -0,0 +1,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;
+};