projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
st/mesa: use fragment shader to copy stencil buffer
[mesa.git]
/
src
/
mesa
/
math
/
m_matrix.h
diff --git
a/src/mesa/math/m_matrix.h
b/src/mesa/math/m_matrix.h
index 778d716dce739f663df9ee09daa482c9bee8c0dc..6de9e1a84cd865bd6375daf5ef1be1e6659d474b 100644
(file)
--- a/
src/mesa/math/m_matrix.h
+++ b/
src/mesa/math/m_matrix.h
@@
-109,6
+109,12
@@
_math_matrix_rotate( GLmatrix *m, GLfloat angle,
extern void
_math_matrix_scale( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z );
extern void
_math_matrix_scale( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z );
+extern void
+_math_float_ortho(float *m,
+ float left, float right,
+ float bottom, float top,
+ float nearval, float farval);
+
extern void
_math_matrix_ortho( GLmatrix *mat,
GLfloat left, GLfloat right,
extern void
_math_matrix_ortho( GLmatrix *mat,
GLfloat left, GLfloat right,
@@
-122,8
+128,8
@@
_math_matrix_frustum( GLmatrix *mat,
GLfloat nearval, GLfloat farval );
extern void
GLfloat nearval, GLfloat farval );
extern void
-_math_matrix_viewport( GLmatrix *m, const
double
scale[3],
- const
double
translate[3], double depthMax );
+_math_matrix_viewport( GLmatrix *m, const
float
scale[3],
+ const
float
translate[3], double depthMax );
extern void
_math_matrix_set_identity( GLmatrix *dest );
extern void
_math_matrix_set_identity( GLmatrix *dest );