Implemented commutative multiplications as friends in the templates, further test cases (unit tests), fixed Doxygen attributes, renamed test classes

This commit is contained in:
Klaus Basan
2013-04-25 01:56:18 +02:00
parent 919913dd95
commit a31e405b6b
22 changed files with 197 additions and 88 deletions

View File

@@ -11,8 +11,7 @@ int BlackMiscTest::CSamplesVectorMatrix::samples()
CVector3D v2(1, 2, 3);
qDebug() << v1 << "value:" << v2[2] << v2.magnitude();
v2 *= v2; // v2 * v2
qDebug() << v2;
// v2 = v1 * v1;
qDebug() << v2 << 2 * v1 << v1 *v1;
CMatrix3x3 m;
CMatrix3x3 mr = m;