-#include "types.h"
-#include "config.h"
-
-
-typedef struct {
- GLfloat *m; /* 16-byte aligned */
- GLfloat *inv; /* optional, 16-byte aligned */
- GLuint flags;
- GLuint type;
-} GLmatrix;
-
-
-#ifdef VMS
-#define gl_calculate_model_project_matrix gl_calculate_model_project_matr
-#endif
-
-
-extern void gl_matrix_transposef( GLfloat to[16], const GLfloat from[16] );
-
-extern void gl_matrix_transposed( GLdouble to[16], const GLdouble from[16] );
-
-
-extern void gl_rotation_matrix( GLfloat angle, GLfloat x, GLfloat y, GLfloat z,
- GLfloat m[] );
-
-
-extern void gl_mat_mul_floats( GLmatrix *mat, const GLfloat *m, GLuint flags );
-
-extern void gl_mat_mul_mat( GLmatrix *mat, const GLmatrix *mat2 );
-
-extern void gl_calculate_model_project_matrix( GLcontext *ctx );
-
-extern void gl_matrix_copy( GLmatrix *to, const GLmatrix *from );
-
-extern void gl_matrix_ctr( GLmatrix *m );
-
-extern void gl_matrix_dtr( GLmatrix *m );
-
-extern void gl_matrix_alloc_inv( GLmatrix *m );
-
-extern void gl_matrix_mul( GLmatrix *dest,
- const GLmatrix *a,
- const GLmatrix *b );
-
-extern void gl_matrix_analyze( GLmatrix *mat );
-
-extern GLboolean gl_matrix_invert( GLmatrix *mat );
-
-extern void gl_print_matrix( const GLmatrix *m );
-