mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Changed round and renamed length in vector / matrix
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user