00001
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #pragma once
00034
00035 #include "../GameData/K3dGameData.h"
00036 #include "../../MathCore/K3dMatrix.h"
00037 #include "K3dVector3Work.h"
00038
00039 class K3dMatrixWork
00040 {
00041 K3dGameData *m_pGameData;
00042 K3dMatrix m_kMatrix;
00043 K3dVector3Work *m_pVector3Work;
00044 public:
00045 K3dMatrixWork ( K3dGameData *_pGameData );
00046 ~K3dMatrixWork ( void );
00047
00048 void RotationUpVector ( K3dMatrix &_rM, const K3dVector3Obj &_rV );
00049 void RotationUpVectorGL ( K3dMatrix &_rM, const K3dVector3Obj &_rV );
00050 void RotationForwardVector ( K3dMatrix &_rM, const K3dVector3Obj &_rV );
00051 void RotationForwardVectorGL ( K3dMatrix &_rM, const K3dVector3Obj &_rV );
00052 void RotationRightVector ( K3dMatrix &_rM, const K3dVector3Obj &_rV );
00053 void RotationRightVectorGL ( K3dMatrix &_rM, const K3dVector3Obj &_rV );
00054 void RotationArbitraryVector ( K3dMatrix &_rM, const K3dVector3Obj &_rkVector,const K3dVector3Obj &_rkArbitrary );
00055 void RotationArbitraryVectorGL ( K3dMatrix &_rM, const K3dVector3Obj &_rkVector,const K3dVector3Obj &_rkArbitrary );
00056 };