From 4ea4bbfcb03091cb987dc151d41980ec16f3d18d Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 8 Apr 2019 22:31:12 +0800 Subject: *misc --- source/modules/asura-utils/math/rect.inl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source/modules/asura-utils/math/rect.inl') 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::Rect(T X, T Y, T W, T H) { } + +template +void Rect::Set(T X, T Y, T W, T H) +{ + x = X; + y = Y; + w = W; + h = H; +} \ No newline at end of file -- cgit v1.1-26-g67d0