axmol/tools/tolua++/matrix.pkg

19 lines
492 B
Plaintext
Raw Normal View History

2012-08-16 11:39:47 +08:00
typedef unsigned int kmGLEnum;
class kmMat4 {
2012-08-16 11:39:47 +08:00
float mat[16];
};
2012-08-16 11:39:47 +08:00
void kmGLFreeAll(void);
void kmGLPushMatrix(void);
void kmGLPopMatrix(void);
void kmGLMatrixMode(kmGLEnum mode);
void kmGLLoadIdentity(void);
void kmGLLoadMatrix(const kmMat4* pIn);
void kmGLMultMatrix(const kmMat4* pIn);
void kmGLTranslatef(float x, float y, float z);
void kmGLRotatef(float angle, float x, float y, float z);
void kmGLScalef(float x, float y, float z);
void kmGLGetMatrix(kmGLEnum mode, kmMat4* pOut);