diff options
author | chai <chaifix@163.com> | 2018-11-20 08:35:18 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-20 08:35:18 +0800 |
commit | 5bd4477d4cf413e90a6b9ef5c8991798a687a0ec (patch) | |
tree | 7abef5041cf93b505f9bc47520f60529a72fc06e /src/libjin/math/je_transform.cpp | |
parent | 22715652592b326feae3010a8bc80d6f8fadba50 (diff) |
*更新sprite
Diffstat (limited to 'src/libjin/math/je_transform.cpp')
-rw-r--r-- | src/libjin/math/je_transform.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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); |