Revised avionics (stringifier) and matrix operations

This commit is contained in:
Klaus Basan
2013-04-19 14:36:30 +02:00
parent 8121babe77
commit 8ffa443a69
18 changed files with 296 additions and 131 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2013 VATSIM Community / authors
/* Copyright (C) 2013 VATSIM Community / contributors
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -83,6 +83,17 @@ public:
return m;
}
/*!
* \brief Multiply vector with this 3x3 matrix
* \param vector
* \return
*/
CVector3D operator *(const CVector3D &vector) const {
CVector3D v(vector);
v.matrixMultiplication(*this);
return v;
}
/*!
* \brief Transposed matrix
* \return