Created
March 7, 2012 19:50
-
-
Save jturcotte/1995575 to your computer and use it in GitHub Desktop.
QDebug operator<<(QDebug dbg, const TransformationMatrix &m)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QDebug operator<<(QDebug dbg, const TransformationMatrix &m) | |
{ | |
dbg.nospace() << "TransformationMatrix(" << endl | |
<< qSetFieldWidth(10) | |
<< m.m11() << m.m21() << m.m31() << m.m41() << endl | |
<< m.m12() << m.m22() << m.m32() << m.m42() << endl | |
<< m.m13() << m.m23() << m.m33() << m.m43() << endl | |
<< m.m14() << m.m24() << m.m34() << m.m44() << endl | |
<< qSetFieldWidth(0) << ')'; | |
return dbg.space(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment