matrix: remove mutating operations
This commit is contained in:
parent
a016e98b12
commit
10f777c380
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user