matrix: add fallback implementation for inverse_affine
This commit is contained in:
parent
10f777c380
commit
8b089d412c
10
matrix.hpp
10
matrix.hpp
@ -49,8 +49,14 @@ namespace util {
|
||||
|
||||
T determinant (void) const;
|
||||
|
||||
matrix inverse (void) const;
|
||||
matrix inverse_affine (void) const;
|
||||
matrix inverse (void) const;
|
||||
|
||||
matrix
|
||||
inverse_affine (void) const
|
||||
{
|
||||
// TODO: ensure we have specialisations for typical dimensions
|
||||
return inverse ();
|
||||
}
|
||||
|
||||
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