mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-09 11:06:01 +08:00
Implemented commutative multiplications as friends in the templates, further test cases (unit tests), fixed Doxygen attributes, renamed test classes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user