From 8644e03586ac9c39741f62cbcbce87b18805538c Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 14 Mar 2019 23:12:54 +0800 Subject: =?UTF-8?q?*=E5=A4=A7=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/Asura.Engine/math/rect.inl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Source/Asura.Engine/math/rect.inl (limited to 'Source/Asura.Engine/math/rect.inl') diff --git a/Source/Asura.Engine/math/rect.inl b/Source/Asura.Engine/math/rect.inl new file mode 100644 index 0000000..891a3f8 --- /dev/null +++ b/Source/Asura.Engine/math/rect.inl @@ -0,0 +1,19 @@ +template +inline Rect::Rect() + : x(0) + , y(0) + , w(0) + , h(0) +{ + +} + +template +inline Rect::Rect(T X, T Y, T W, T H) + : x(X) + , y(Y) + , w(W) + , h(H) +{ + +} -- cgit v1.1-26-g67d0