Utilities
Utilities header only library
glm_ext::TransMat< N > Class Template Reference

Template wrapper for glm matrix holding matrix and its inverse. More...

Public Member Functions

 TransMat ()=default
 Creates identity.
 
 TransMat (const MyMat &new_mat)
 Creates matrix with a defined value.
 
void Set (const MyMat &new_mat)
 Sets matrix to a defined value.
 
void SetInverse (const MyMat &inv_mat)
 Sets inverse of the matrix.
 
const MyMat & Get () const
 Returns matrix.
 
const MyMat & GetInverse () const
 Returns inverse of matrix.
 

Detailed Description

template<int N>
class glm_ext::TransMat< N >

Template wrapper for glm matrix holding matrix and its inverse.