summaryrefslogtreecommitdiff
path: root/source/modules/asura-utils/math/rect.inl
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/asura-utils/math/rect.inl')
-rw-r--r--source/modules/asura-utils/math/rect.inl9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/modules/asura-utils/math/rect.inl b/source/modules/asura-utils/math/rect.inl
index 891a3f8..efafbf9 100644
--- a/source/modules/asura-utils/math/rect.inl
+++ b/source/modules/asura-utils/math/rect.inl
@@ -17,3 +17,12 @@ inline Rect<T>::Rect(T X, T Y, T W, T H)
{
}
+
+template <typename T>
+void Rect<T>::Set(T X, T Y, T W, T H)
+{
+ x = X;
+ y = Y;
+ w = W;
+ h = H;
+} \ No newline at end of file