From c8a6a8e2dd6f015a31b4f8191ad945a78fe77f3d Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 3 Apr 2019 09:00:13 +0800 Subject: *misc --- source/modules/asura-utils/math/matrix44.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source/modules/asura-utils/math/matrix44.cpp') 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 | -- cgit v1.1-26-g67d0