Minor optimizations to love.graphics.draw(texture).

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2016-12-28 01:24:21 -04:00
parent a6a7f03b3a
commit 19aee7e75c
4 changed files with 17 additions and 13 deletions
+6 -5
View File
@@ -58,16 +58,17 @@ public:
**/
Matrix4(const float elements[16]);
/**
* Creates a new matrix from the result of multiplying the two specified
* matrices.
**/
Matrix4(const Matrix4 &a, const Matrix4 &b);
/**
* Creates a new matrix set to a transformation.
**/
Matrix4(float x, float y, float angle, float sx, float sy, float ox, float oy, float kx, float ky);
/**
* Destructor.
**/
~Matrix4();
/**
* Multiplies this Matrix with another Matrix, changing neither.
* @param m The Matrix to multiply with this Matrix.