From 5bd4477d4cf413e90a6b9ef5c8991798a687a0ec Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 20 Nov 2018 08:35:18 +0800 Subject: =?UTF-8?q?*=E6=9B=B4=E6=96=B0sprite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/math/je_transform.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libjin/math/je_transform.cpp') diff --git a/src/libjin/math/je_transform.cpp b/src/libjin/math/je_transform.cpp index c0676cb..fba63fa 100644 --- a/src/libjin/math/je_transform.cpp +++ b/src/libjin/math/je_transform.cpp @@ -13,6 +13,11 @@ namespace JinEngine { } + Transform::Transform(float x, float y, float sx, float sy, float r, float ox, float oy) + { + set(x, y, sx, sy, r, ox, oy); + } + void Transform::set(float x, float y, float sx, float sy, float r, float ox, float oy) { setPosition(x, y); -- cgit v1.1-26-g67d0