Polyphase Game Engine
Loading...
Searching...
No Matches
IMGUIZMO_NAMESPACE::matrix_t Struct Reference

Public Member Functions

 operator float * ()
 
 operator const float * () const
 
void Translation (float _x, float _y, float _z)
 
void Translation (const vec_t &vt)
 
void Scale (float _x, float _y, float _z)
 
void Scale (const vec_t &s)
 
matrix_toperator*= (const matrix_t &mat)
 
matrix_t operator* (const matrix_t &mat) const
 
void Multiply (const matrix_t &matrix)
 
void Multiply (const matrix_t &m1, const matrix_t &m2)
 
float GetDeterminant () const
 
float Inverse (const matrix_t &srcMatrix, bool affine=false)
 
void SetToIdentity ()
 
void Transpose ()
 
void RotationAxis (const vec_t &axis, float angle)
 
void OrthoNormalize ()
 

Public Attributes

union { 
 
   float   m [4][4] 
 
   float   m16 [16] 
 
   struct { 
 
      vec_t   right 
 
      vec_t   up 
 
      vec_t   dir 
 
      vec_t   position 
 
   }   v 
 
   vec_t   component [4] 
 
};  
 

Member Function Documentation

◆ GetDeterminant()

float IMGUIZMO_NAMESPACE::matrix_t::GetDeterminant ( ) const
inline

◆ Inverse()

float IMGUIZMO_NAMESPACE::matrix_t::Inverse ( const matrix_t srcMatrix,
bool  affine = false 
)

◆ Multiply() [1/2]

void IMGUIZMO_NAMESPACE::matrix_t::Multiply ( const matrix_t m1,
const matrix_t m2 
)
inline

◆ Multiply() [2/2]

void IMGUIZMO_NAMESPACE::matrix_t::Multiply ( const matrix_t matrix)
inline

◆ operator const float *()

IMGUIZMO_NAMESPACE::matrix_t::operator const float * ( ) const
inline

◆ operator float *()

IMGUIZMO_NAMESPACE::matrix_t::operator float * ( )
inline

◆ operator*()

matrix_t IMGUIZMO_NAMESPACE::matrix_t::operator* ( const matrix_t mat) const
inline

◆ operator*=()

matrix_t & IMGUIZMO_NAMESPACE::matrix_t::operator*= ( const matrix_t mat)
inline

◆ OrthoNormalize()

void IMGUIZMO_NAMESPACE::matrix_t::OrthoNormalize ( )
inline

◆ RotationAxis()

void IMGUIZMO_NAMESPACE::matrix_t::RotationAxis ( const vec_t axis,
float  angle 
)

◆ Scale() [1/2]

void IMGUIZMO_NAMESPACE::matrix_t::Scale ( const vec_t s)
inline

◆ Scale() [2/2]

void IMGUIZMO_NAMESPACE::matrix_t::Scale ( float  _x,
float  _y,
float  _z 
)
inline

◆ SetToIdentity()

void IMGUIZMO_NAMESPACE::matrix_t::SetToIdentity ( )
inline

◆ Translation() [1/2]

void IMGUIZMO_NAMESPACE::matrix_t::Translation ( const vec_t vt)
inline

◆ Translation() [2/2]

void IMGUIZMO_NAMESPACE::matrix_t::Translation ( float  _x,
float  _y,
float  _z 
)
inline

◆ Transpose()

void IMGUIZMO_NAMESPACE::matrix_t::Transpose ( )
inline

Member Data Documentation

◆ [union]

◆ component

vec_t IMGUIZMO_NAMESPACE::matrix_t::component[4]

◆ dir

vec_t IMGUIZMO_NAMESPACE::matrix_t::dir

◆ m

float IMGUIZMO_NAMESPACE::matrix_t::m[4][4]

◆ m16

float IMGUIZMO_NAMESPACE::matrix_t::m16[16]

◆ position

vec_t IMGUIZMO_NAMESPACE::matrix_t::position

◆ right

vec_t IMGUIZMO_NAMESPACE::matrix_t::right

◆ up

vec_t IMGUIZMO_NAMESPACE::matrix_t::up

◆ [struct]

struct { ... } IMGUIZMO_NAMESPACE::matrix_t::v

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