From 60cbbdec07ab7a5636eac5b3c024ae44e937f4d4 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 13 Dec 2021 00:07:19 +0800 Subject: +init --- Client/Source/Math/Rect.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Client/Source/Math/Rect.h (limited to 'Client/Source/Math/Rect.h') 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; +}; -- cgit v1.1-26-g67d0