matrix: add fallback implementation for inverse_affine

This commit is contained in:
Danny Robson 2017-08-22 15:06:16 +10:00
parent 10f777c380
commit 8b089d412c

View File

@ -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;