matrix: remove mutating operations

This commit is contained in:
Danny Robson 2017-08-22 15:05:58 +10:00
parent a016e98b12
commit 10f777c380
2 changed files with 0 additions and 11 deletions

View File

@ -27,15 +27,6 @@ using util::matrix;
///////////////////////////////////////////////////////////////////////////////
template <size_t Rows, size_t Cols, typename T>
matrix<Rows,Cols,T>&
matrix<Rows,Cols,T>::invert (void)
{
return *this = inverse ();
}
//-----------------------------------------------------------------------------
//template <size_t S, typename T>
//matrix<S,T>&
//matrix<S,T>::invert_affine (void)

View File

@ -50,9 +50,7 @@ namespace util {
T determinant (void) const;
matrix inverse (void) const;
matrix& invert (void);
matrix inverse_affine (void) const;
matrix& invert_affine (void);
vector<Rows,T> operator* (const vector<Rows,T>&) const;
point<Rows,T> operator* (const point<Rows,T> &) const;