Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cMatrix3x3f Class Reference

#include <cMatrix.h>

Inheritance diagram for GrayLib::cMatrix3x3f:
GrayLib::cMatrixT< DVALUEDEF_t, 3, 3 >

Public Types

typedef cMatrixT< DVALUEDEF_t, 3, 3 > SUPER_t
 
typedef cMatrix3x3f THIS_t
 
- Public Types inherited from GrayLib::cMatrixT< DVALUEDEF_t, 3, 3 >
typedef DVALUEDEF_t DVALUE_t
 

Public Member Functions

 cMatrix3x3f ()
 
 cMatrix3x3f (const SUPER_t &src)
 
- Public Member Functions inherited from GrayLib::cMatrixT< DVALUEDEF_t, 3, 3 >
 cMatrixT () noexcept
 
 cMatrixT (const THIS_t &v) noexcept
 
 cMatrixT (const DVALUEDEF_t *pVals) noexcept
 
bool IsNear (const THIS_t &v2, DVALUEDEF_t fDist=(DVALUEDEF_t) k_FLT_MIN2) const
 
COMPARE_t Compare (const THIS_t &v2) const
 
bool operator== (const THIS_t &v2) const
 
bool operator!= (const THIS_t &v2) const
 
void InitMul (const cMatrixT< DVALUEDEF_t, _ROWS, _IDN > &m1, const cMatrixT< DVALUEDEF_t, _IDN, _COLS > &m2)
 
DVALUEDEF_tRefRow (int nRow)
 
const DVALUEDEF_tGetRow (int nRow) const
 
const DVALUEDEF_tGetRow (AXIS_TYPE eAxis) const
 
void SetRow (int nRow, const DVALUEDEF_t *p)
 
cVecT< DVALUEDEF_t, _COLS > & RefRowV (int nRow)
 
const cVecT< DVALUEDEF_t, _COLS > & GetRowV (int nRow) const
 
void SetRowV (int nRow, const cVecT< DVALUEDEF_t, _COLS > &v)
 
void CopyColTo (int nCol, DVALUEDEF_t *pV) const
 
void CopyColToV (int nCol, cVecT< DVALUEDEF_t, _ROWS > &v) const
 
cVecT< DVALUEDEF_t, _ROWS > GetColV (int nCol) const
 
void SetCol (int nCol, const DVALUEDEF_t *pV)
 
void SetColV (int nCol, const cVecT< DVALUEDEF_t, _ROWS > &v)
 

Additional Inherited Members

- Public Attributes inherited from GrayLib::cMatrixT< DVALUEDEF_t, 3, 3 >
DVALUEDEF_t m_a [_ROWS *_COLS]
 
DVALUEDEF_t m [_ROWS][_COLS]
 
union {
   TYPE   m_a [_ROWS *_COLS]
 
   TYPE   m [_ROWS][_COLS]
 
}; 
 
- Static Public Attributes inherited from GrayLib::cMatrixT< DVALUEDEF_t, 3, 3 >
static const int k_nRows
 
static const int k_nCols
 

Detailed Description

3x3 matrix works similar to 4x4 but without translation. Must translate into world space as a separate operation. more efficient in some contexts. same as shader 'float3x3'

Member Typedef Documentation

◆ SUPER_t

◆ THIS_t

Constructor & Destructor Documentation

◆ cMatrix3x3f() [1/2]

GrayLib::cMatrix3x3f::cMatrix3x3f ( )
inline

ASSUME no/random/undefined init matrix data.

◆ cMatrix3x3f() [2/2]

GrayLib::cMatrix3x3f::cMatrix3x3f ( const SUPER_t src)
inline

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