diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2009-12-02 18:11:52 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2009-12-03 11:50:09 -0800 |
commit | 89feae7c12dd703804c93f784f9bd7e39fcc7f60 (patch) | |
tree | 054ef01d7fc1cc8191999af5c3aebb0e14c1ff2f /include | |
parent | 19f7c8d47e747ec2e80bf21d76cada0c991505d6 (diff) |
Fix parameter ordering of projection matrix functions
The GL and (classic) GLU functions that these emulate have bottom before top.
Reorder the parameters to these functions to match.
Diffstat (limited to 'include')
-rw-r--r-- | include/glu3.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/glu3.h b/include/glu3.h index 5d30911..f67c554 100644 --- a/include/glu3.h +++ b/include/glu3.h @@ -480,8 +480,8 @@ void gluLookAt4v(GLUmat4 *result, const GLUvec4 *eye, const GLUvec4 *center, * If either\c near or \c far are negative, the function returns without * writing any value to \c result. */ -void gluFrustum6f(GLUmat4 *result, GLfloat left, GLfloat right, GLfloat top, - GLfloat bottom, GLfloat near, GLfloat far); +void gluFrustum6f(GLUmat4 *result, GLfloat left, GLfloat right, GLfloat bottom, + GLfloat top, GLfloat near, GLfloat far); /** * Calculate a perspective projection matrix @@ -539,8 +539,8 @@ void gluPerspective4f(GLUmat4 *result, GLfloat fovy, GLfloat aspect, * * \sa gluOrtho6f */ -void gluOrtho4f(GLUmat4 *result, GLfloat left, GLfloat right, GLfloat top, - GLfloat bottom); +void gluOrtho4f(GLUmat4 *result, GLfloat left, GLfloat right, GLfloat bottom, + GLfloat top); /** * Generate an orthographic projection matrix @@ -570,8 +570,8 @@ void gluOrtho4f(GLUmat4 *result, GLfloat left, GLfloat right, GLfloat top, * * \s gluOrtho4f */ -void gluOrtho6f(GLUmat4 *result, GLfloat left, GLfloat right, GLfloat top, - GLfloat bottom, GLfloat near, GLfloat far); +void gluOrtho6f(GLUmat4 *result, GLfloat left, GLfloat right, GLfloat bottom, + GLfloat top, GLfloat near, GLfloat far); /*@}*/ /** |