mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Revised avionics (stringifier) and matrix operations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user