ScummVM API documentation
hpl::cMatrix< T > Class Template Reference

Public Member Functions

 cMatrix (T *pA)
 
 cMatrix (double *pA)
 
constexpr cMatrix (T a00, T a01, T a02, T a03, T a10, T a11, T a12, T a13, T a20, T a21, T a22, T a23, T a30, T a31, T a32, T a33)
 
bool operator== (const cMatrix< T > &aMtx) const
 
bool operator!= (const cMatrix< T > &aMtx)
 
void FromVec (const T *pA)
 
void FromTranspose (const T *pA)
 
cVector3< T > GetRight () const
 
void SetRight (const cVector3< T > &avVec)
 
cVector3< T > GetUp () const
 
void SetUp (const cVector3< T > &avVec)
 
cVector3< T > GetForward () const
 
void SetForward (const cVector3< T > &avVec)
 
cVector3< T > GetTranslation () const
 
void SetTranslation (const cVector3< T > &avTrans)
 
cMatrix< T > GetRotation () const
 
cMatrix< T > GetTranspose () const
 
tString ToString ()
 
tString ToFileString ()
 

Public Attributes

union {
   T   m [4][4]
 
   T   v [16]
 
}; 
 

Static Public Attributes

static const cMatrix< T > Identity
 
static const cMatrix< T > Zero
 

The documentation for this class was generated from the following file: