#include <K3dMatrixWork.h>
Public Member Functions | |
| K3dMatrixWork (K3dGameData *_pGameData) | |
| ~K3dMatrixWork (void) | |
| void | RotationUpVector (K3dMatrix &_rM, const K3dVector3Obj &_rV) |
| Matrix rotation by up vector. | |
| void | RotationUpVectorGL (K3dMatrix &_rM, const K3dVector3Obj &_rV) |
| GLMatrix rotation by up vector. | |
| void | RotationForwardVector (K3dMatrix &_rM, const K3dVector3Obj &_rV) |
| Matrix Rotation by forward vector. | |
| void | RotationForwardVectorGL (K3dMatrix &_rM, const K3dVector3Obj &_rV) |
| GLMatrix rotation by up vector. | |
| void | RotationRightVector (K3dMatrix &_rM, const K3dVector3Obj &_rV) |
| Matrix Rotation by Right vector. | |
| void | RotationRightVectorGL (K3dMatrix &_rM, const K3dVector3Obj &_rV) |
| GLMatrix rotation by up vector. | |
| void | RotationArbitraryVector (K3dMatrix &_rM, const K3dVector3Obj &_rkVector, const K3dVector3Obj &_rkArbitrary) |
| Matrix Rotation by arbitrary vector. | |
| void | RotationArbitraryVectorGL (K3dMatrix &_rM, const K3dVector3Obj &_rkVector, const K3dVector3Obj &_rkArbitrary) |
| GLMatrix rotation by arbitrary vector. | |
Private Attributes | |
| K3dGameData * | m_pGameData |
| Global game data, data centered game system. | |
| K3dMatrix | m_kMatrix |
| Slave matrix. | |
| K3dVector3Work * | m_pVector3Work |
| Pointer to 3d vector worker. | |
Definition at line 39 of file K3dMatrixWork.h.
| K3dMatrixWork::K3dMatrixWork | ( | K3dGameData * | _pGameData | ) |
Definition at line 35 of file K3dMatrixWork.cpp.
References K3dSceneData::GetVector3Work(), m_pGameData, m_pVector3Work, and K3dSceneData::SetMatrixWork().
| K3dMatrixWork::~K3dMatrixWork | ( | void | ) |
Definition at line 43 of file K3dMatrixWork.cpp.
| void K3dMatrixWork::RotationUpVector | ( | K3dMatrix & | _rM, | |
| const K3dVector3Obj & | _rV | |||
| ) |
Matrix rotation by up vector.
Definition at line 47 of file K3dMatrixWork.cpp.
References K3dVector3Work::Cross(), K3dVector3Work::Dot(), m_pVector3Work, K3dVector3Work::Normalize(), and K3dMatrix::Rotation().
| void K3dMatrixWork::RotationUpVectorGL | ( | K3dMatrix & | _rM, | |
| const K3dVector3Obj & | _rV | |||
| ) |
GLMatrix rotation by up vector.
Definition at line 64 of file K3dMatrixWork.cpp.
References K3dVector3Work::Cross(), K3dVector3Work::Dot(), m_pVector3Work, K3dVector3Work::Normalize(), and K3dMatrix::RotationGL().
| void K3dMatrixWork::RotationForwardVector | ( | K3dMatrix & | _rM, | |
| const K3dVector3Obj & | _rV | |||
| ) |
Matrix Rotation by forward vector.
Definition at line 82 of file K3dMatrixWork.cpp.
References K3dVector3Work::Cross(), K3dVector3Work::Dot(), m_pVector3Work, K3dVector3Work::Normalize(), and K3dMatrix::Rotation().
| void K3dMatrixWork::RotationForwardVectorGL | ( | K3dMatrix & | _rM, | |
| const K3dVector3Obj & | _rV | |||
| ) |
GLMatrix rotation by up vector.
Definition at line 102 of file K3dMatrixWork.cpp.
References K3dVector3Work::Cross(), K3dVector3Work::Dot(), m_pVector3Work, K3dVector3Work::Normalize(), and K3dMatrix::RotationGL().
| void K3dMatrixWork::RotationRightVector | ( | K3dMatrix & | _rM, | |
| const K3dVector3Obj & | _rV | |||
| ) |
Matrix Rotation by Right vector.
Definition at line 122 of file K3dMatrixWork.cpp.
References K3dVector3Work::Cross(), K3dVector3Work::Dot(), m_pVector3Work, K3dVector3Work::Normalize(), and K3dMatrix::Rotation().
| void K3dMatrixWork::RotationRightVectorGL | ( | K3dMatrix & | _rM, | |
| const K3dVector3Obj & | _rV | |||
| ) |
GLMatrix rotation by up vector.
Definition at line 142 of file K3dMatrixWork.cpp.
References K3dVector3Work::Cross(), K3dVector3Work::Dot(), m_pVector3Work, K3dVector3Work::Normalize(), and K3dMatrix::RotationGL().
| void K3dMatrixWork::RotationArbitraryVector | ( | K3dMatrix & | _rM, | |
| const K3dVector3Obj & | _rkVector, | |||
| const K3dVector3Obj & | _rkArbitrary | |||
| ) |
Matrix Rotation by arbitrary vector.
Definition at line 162 of file K3dMatrixWork.cpp.
References K3dVector3Work::Cross(), K3dVector3Work::Dot(), m_pVector3Work, K3dVector3Work::Normalize(), and K3dMatrix::Rotation().
| void K3dMatrixWork::RotationArbitraryVectorGL | ( | K3dMatrix & | _rM, | |
| const K3dVector3Obj & | _rkVector, | |||
| const K3dVector3Obj & | _rkArbitrary | |||
| ) |
GLMatrix rotation by arbitrary vector.
Definition at line 183 of file K3dMatrixWork.cpp.
References K3dVector3Work::Cross(), K3dVector3Work::Dot(), m_pVector3Work, K3dVector3Work::Normalize(), and K3dMatrix::RotationGL().
K3dGameData* K3dMatrixWork::m_pGameData [private] |
Global game data, data centered game system.
Definition at line 41 of file K3dMatrixWork.h.
Referenced by K3dMatrixWork().
K3dMatrix K3dMatrixWork::m_kMatrix [private] |
K3dVector3Work* K3dMatrixWork::m_pVector3Work [private] |
Pointer to 3d vector worker.
Definition at line 43 of file K3dMatrixWork.h.
Referenced by K3dMatrixWork(), RotationArbitraryVector(), RotationArbitraryVectorGL(), RotationForwardVector(), RotationForwardVectorGL(), RotationRightVector(), RotationRightVectorGL(), RotationUpVector(), and RotationUpVectorGL().
1.5.0