Make btMatrixX::printMatrix const

This commit is contained in:
erwincoumans
2019-05-02 16:18:29 -07:00
parent a8d1c121fd
commit ba899b371d

View File

@@ -284,7 +284,7 @@ struct btMatrixX
} }
} }
void printMatrix(const char* msg) void printMatrix(const char* msg) const
{ {
printf("%s ---------------------\n", msg); printf("%s ---------------------\n", msg);
for (int i = 0; i < rows(); i++) for (int i = 0; i < rows(); i++)