axmol/tools/tolua++/matrix.pkg

18 lines
507 B
Plaintext

typedef unsigned int kmGLEnum;
typedef struct kmMat4 {
float mat[16];
} kmMat4;
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);