diff options
author | Brian Paul <[email protected]> | 1999-12-10 20:01:06 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-12-10 20:01:06 +0000 |
commit | cd96388857255711c4e33e7d2626f199d3810d15 (patch) | |
tree | d0781e62e698ee5ae1468a5dc36a901254641c53 /src/mesa/main/matrix.h | |
parent | 0056c5e40d7c5702420f314fa4f68159e5a64cd6 (diff) |
implemented GL_ARB_tranpose_matrix
Diffstat (limited to 'src/mesa/main/matrix.h')
-rw-r--r-- | src/mesa/main/matrix.h | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/src/mesa/main/matrix.h b/src/mesa/main/matrix.h index e8c79e2c595..d0fcdabb627 100644 --- a/src/mesa/main/matrix.h +++ b/src/mesa/main/matrix.h @@ -1,4 +1,4 @@ -/* $Id: matrix.h,v 1.4 1999/11/12 18:10:47 brianp Exp $ */ +/* $Id: matrix.h,v 1.5 1999/12/10 20:01:06 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -46,6 +46,11 @@ typedef struct { #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[] ); @@ -56,14 +61,14 @@ 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_copy( GLmatrix *to, const GLmatrix *from ); - extern void gl_matrix_mul( GLmatrix *dest, const GLmatrix *a, const GLmatrix *b ); @@ -129,6 +134,18 @@ extern void _mesa_Translated( GLdouble x, GLdouble y, GLdouble z ); extern void +_mesa_LoadTransposeMatrixfARB( const GLfloat *m ); + +extern void +_mesa_LoadTransposeMatrixdARB( const GLdouble *m ); + +extern void +_mesa_MultTransposeMatrixfARB( const GLfloat *m ); + +extern void +_mesa_MultTransposeMatrixdARB( const GLdouble *m ); + +extern void _mesa_Viewport( GLint x, GLint y, GLsizei width, GLsizei height ); extern void |