AP_Math: rename * operator for vector3f * matrix3f

This commit is contained in:
Andrew Tridgell 2022-07-23 18:32:39 +10:00
parent 3fdcf5f940
commit 5470c6435e
2 changed files with 2 additions and 2 deletions

View File

@ -437,7 +437,7 @@ T Vector3<T>::angle(const Vector3<T> &v2) const
// multiplication of transpose by a vector
template <typename T>
Vector3<T> Vector3<T>::operator *(const Matrix3<T> &m) const
Vector3<T> Vector3<T>::row_times_mat(const Matrix3<T> &m) const
{
return Vector3<T>(*this * m.colx(),
*this * m.coly(),

View File

@ -158,7 +158,7 @@ public:
}
// multiply a row vector by a matrix, to give a row vector
Vector3<T> operator *(const Matrix3<T> &m) const;
Vector3<T> row_times_mat(const Matrix3<T> &m) const;
// multiply a column vector by a row vector, returning a 3x3 matrix
Matrix3<T> mul_rowcol(const Vector3<T> &v) const;