MATH: Make Matrix4::inverse not const as it changes data

This commit is contained in:
Joel Teichroeb 2014-07-10 20:23:06 -07:00
parent 3ab287bfc4
commit cb6a58e01e

View File

@ -111,7 +111,7 @@ public:
return result;
}
inline bool inverse() const {
inline bool inverse() {
Matrix<4, 4> invMatrix;
float *inv = invMatrix.getData();
float *m = (float *)getData();