Consolidated some duplicate code in SpriteBatch:add.

This commit is contained in:
Alex Szpakowski
2014-09-18 20:29:47 -03:00
parent 5dda0c08eb
commit c6896dfc4e
4 changed files with 26 additions and 31 deletions
+5
View File
@@ -37,6 +37,11 @@ Matrix::Matrix()
setIdentity();
}
Matrix::Matrix(float x, float y, float angle, float sx, float sy, float ox, float oy, float kx, float ky)
{
setTransformation(x, y, angle, sx, sy, ox, oy, kx, ky);
}
Matrix::~Matrix()
{
}