diff options
author | chai <chaifix@163.com> | 2019-04-03 09:00:13 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-04-03 09:00:13 +0800 |
commit | c8a6a8e2dd6f015a31b4f8191ad945a78fe77f3d (patch) | |
tree | 8060458d7aa5e514cdef32f6f92e157221efde4a /source/modules/asura-utils/math/matrix44.cpp | |
parent | af7bdaa10ee71a319dc55c3c7556fa43a95c9dc9 (diff) |
*misc
Diffstat (limited to 'source/modules/asura-utils/math/matrix44.cpp')
-rw-r--r-- | source/modules/asura-utils/math/matrix44.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/modules/asura-utils/math/matrix44.cpp b/source/modules/asura-utils/math/matrix44.cpp index 10c9ece..a1dc933 100644 --- a/source/modules/asura-utils/math/matrix44.cpp +++ b/source/modules/asura-utils/math/matrix44.cpp @@ -178,6 +178,13 @@ namespace AsuraEngine this->operator *=(t); } + void Matrix44::Transform(float x, float y, float angle, float sx, float sy, float ox, float oy) + { + Matrix44 t; + t.SetTransformation(x, y, angle, sx, sy, ox, oy); + this->operator *=(t); + } + // | x | // | y | // | 0 | |