Bug 1055661 - Add Matrix5x4::operator*=. f=milan, r=Bas

This commit is contained in:
Markus Stange 2014-09-02 14:06:01 +02:00
parent 3757c2f101
commit 16ca30512b

View File

@ -166,8 +166,8 @@ public:
Matrix& operator*=(const Matrix &aMatrix)
{
Matrix resultMatrix = *this * aMatrix;
return *this = resultMatrix;
*this = *this * aMatrix;
return *this;
}
/* Returns true if the other matrix is fuzzy-equal to this matrix.
@ -572,8 +572,8 @@ public:
Matrix4x4& operator*=(const Matrix4x4 &aMatrix)
{
Matrix4x4 resultMatrix = *this * aMatrix;
return *this = resultMatrix;
*this = *this * aMatrix;
return *this;
}
/* Returns true if the matrix is an identity matrix.
@ -792,6 +792,12 @@ public:
return resultMatrix;
}
Matrix5x4& operator*=(const Matrix5x4 &aMatrix)
{
*this = *this * aMatrix;
return *this;
}
Float _11, _12, _13, _14;
Float _21, _22, _23, _24;
Float _31, _32, _33, _34;