5 #define GL_MODELVIEW 0x1700
\r
7 #ifndef GL_PROJECTION
\r
8 #define GL_PROJECTION 0x1701
\r
11 #define GL_TEXTURE 0x1702
\r
14 void gl_matrix_mode(int mmode);
\r
15 void gl_push_matrix(void);
\r
16 void gl_pop_matrix(void);
\r
17 void gl_load_identity(void);
\r
18 void gl_load_matrixf(const float *mat);
\r
19 void gl_mult_matrixf(const float *mat);
\r
20 void gl_translatef(float x, float y, float z);
\r
21 void gl_rotatef(float angle, float x, float y, float z);
\r
22 void gl_scalef(float x, float y, float z);
\r
23 void gl_ortho(float left, float right, float bottom, float top, float znear, float zfar);
\r
24 void gl_frustum(float left, float right, float bottom, float top, float znear, float zfar);
\r
25 void glu_perspective(float vfov, float aspect, float znear, float zfar);
\r
28 float* get_matrix(int mm);
\r
29 float* get_inv_transpose_3x3(int mm);
\r
31 #endif /* GLMATRIX_H_ */
\r