home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 4 / CD_Magazyn_EXEC_nr_4.iso / Recent / dev / c / GSys.lha / gsys / g3d / G3DMatrix.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-10-01  |  572 b   |  38 lines

  1.  
  2. /* Author Anders Kjeldsen */
  3.  
  4. #ifndef G3DMATRIX_H
  5. #define G3DMATRIX_H
  6.  
  7. #include "g3d/G3DQuat.h"
  8.  
  9. class G3DMatrix
  10. {
  11. public:
  12.     G3DMatrix();
  13.     ~G3DMatrix() {};
  14.  
  15.     void SetIdentity();
  16.     void SetIdentity(float scale);
  17.     void SetAsX(float AngleX);
  18.     void SetAsY(float AngleY);
  19.     void SetAsZ(float AngleZ);
  20.     void SetPosition(float vx, float vy, float vz);
  21.  
  22.     void PrintfAll();
  23.  
  24. //    G3DMatrix operator = (GQuat &b);
  25.     void operator=(G3DMatrix &m);
  26.     void operator=(GQuat &b);
  27. //    G3DMatrix operator*(G3DMatrix &a, G3DMatrix &b);
  28.  
  29.     float Matrix[4][4];
  30.  
  31. private:
  32.  
  33. };
  34.  
  35. #endif /* GMATRIX_H */
  36.  
  37.  
  38.