Changed round and renamed length in vector / matrix

This commit is contained in:
Klaus Basan
2013-05-01 00:00:03 +02:00
parent ad6ac0186b
commit 837809b96d
6 changed files with 38 additions and 38 deletions

View File

@@ -9,7 +9,7 @@ int BlackMiscTest::CSamplesVectorMatrix::samples()
{
CVector3D v1;
CVector3D v2(1, 2, 3);
qDebug() << v1 << "value:" << v2[2] << v2.magnitude();
qDebug() << v1 << "value:" << v2[2] << v2.length();
v2 *= v2; // v2 * v2
qDebug() << v2 << 2 * v1 << v1 *v1;