summaryrefslogtreecommitdiffstats
path: root/src/mesa/math
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2000-11-24 10:25:05 +0000
committerKeith Whitwell <[email protected]>2000-11-24 10:25:05 +0000
commitad2ac216fa0cbebc36530bf9e5256e902710b892 (patch)
tree2b44b0129679558d0a1760bf94d75bcdbfe145ad /src/mesa/math
parent00608a79dce1ea5e274f35b0a1883f7b623b9d7a (diff)
Support for swappable t&l modules, including an example one in the FX
driver (enable with FX_ALLOW_VTXFMT=t).
Diffstat (limited to 'src/mesa/math')
-rw-r--r--src/mesa/math/m_matrix.c12
-rw-r--r--src/mesa/math/m_matrix.h4
-rw-r--r--src/mesa/math/m_xform.c4
3 files changed, 10 insertions, 10 deletions
diff --git a/src/mesa/math/m_matrix.c b/src/mesa/math/m_matrix.c
index 0a722fe3ea1..0e04e7c8ab9 100644
--- a/src/mesa/math/m_matrix.c
+++ b/src/mesa/math/m_matrix.c
@@ -1,4 +1,4 @@
-/* $Id: m_matrix.c,v 1.3 2000/11/20 15:16:33 brianp Exp $ */
+/* $Id: m_matrix.c,v 1.4 2000/11/24 10:25:11 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -739,7 +739,7 @@ _math_matrix_ortho( GLmatrix *mat,
/* Determine type and flags from scratch. This is expensive enough to
* only want to do it once.
*/
-static void analyze_from_scratch( GLmatrix *mat )
+static void analyse_from_scratch( GLmatrix *mat )
{
const GLfloat *m = mat->m;
GLuint mask = 0;
@@ -851,7 +851,7 @@ static void analyze_from_scratch( GLmatrix *mat )
/* Analyse a matrix given that its flags are accurate - this is the
* more common operation, hopefully.
*/
-static void analyze_from_flags( GLmatrix *mat )
+static void analyse_from_flags( GLmatrix *mat )
{
const GLfloat *m = mat->m;
@@ -891,13 +891,13 @@ static void analyze_from_flags( GLmatrix *mat )
void
-_math_matrix_analyze( GLmatrix *mat )
+_math_matrix_analyse( GLmatrix *mat )
{
if (mat->flags & MAT_DIRTY_TYPE) {
if (mat->flags & MAT_DIRTY_FLAGS)
- analyze_from_scratch( mat );
+ analyse_from_scratch( mat );
else
- analyze_from_flags( mat );
+ analyse_from_flags( mat );
}
if (mat->inv && (mat->flags & MAT_DIRTY_INVERSE)) {
diff --git a/src/mesa/math/m_matrix.h b/src/mesa/math/m_matrix.h
index 8eedbdb9424..0d3c61dfe5e 100644
--- a/src/mesa/math/m_matrix.h
+++ b/src/mesa/math/m_matrix.h
@@ -1,4 +1,4 @@
-/* $Id: m_matrix.h,v 1.1 2000/11/16 21:05:41 keithw Exp $ */
+/* $Id: m_matrix.h,v 1.2 2000/11/24 10:25:11 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -151,7 +151,7 @@ extern void
_math_matrix_copy( GLmatrix *to, const GLmatrix *from );
extern void
-_math_matrix_analyze( GLmatrix *mat );
+_math_matrix_analyse( GLmatrix *mat );
extern void
_math_matrix_print( const GLmatrix *m );
diff --git a/src/mesa/math/m_xform.c b/src/mesa/math/m_xform.c
index 8257d806470..a6e34e9eb2b 100644
--- a/src/mesa/math/m_xform.c
+++ b/src/mesa/math/m_xform.c
@@ -1,4 +1,4 @@
-/* $Id: m_xform.c,v 1.3 2000/11/18 08:10:24 jtaylor Exp $ */
+/* $Id: m_xform.c,v 1.4 2000/11/24 10:25:11 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -173,7 +173,7 @@ void gl_transform_vector( GLfloat u[4], const GLfloat v[4], const GLfloat m[16]
/* Useful for one-off point transformations, as in clipping.
- * Note that because the matrix isn't analyzed we do too many
+ * Note that because the matrix isn't analysed we do too many
* multiplies, and that the result is always 4-clean.
*/
void gl_transform_point_sz( GLfloat Q[4], const GLfloat M[16],