diff options
author | Gareth Hughes <[email protected]> | 2001-03-12 00:48:37 +0000 |
---|---|---|
committer | Gareth Hughes <[email protected]> | 2001-03-12 00:48:37 +0000 |
commit | 22144ab7552f0799bcfca506bf4ffa7f70a06649 (patch) | |
tree | e7986aa02e97d88071b0769dc8d5359860320614 /src/mesa/math/m_dotprod_tmp.h | |
parent | 57ffddba9870a0e602ae454e13072a0af48fa150 (diff) |
Consistent copyright info (version number, date) across all files.
Diffstat (limited to 'src/mesa/math/m_dotprod_tmp.h')
-rw-r--r-- | src/mesa/math/m_dotprod_tmp.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/mesa/math/m_dotprod_tmp.h b/src/mesa/math/m_dotprod_tmp.h index 88a9b37fa55..232c5389ca6 100644 --- a/src/mesa/math/m_dotprod_tmp.h +++ b/src/mesa/math/m_dotprod_tmp.h @@ -1,21 +1,21 @@ -/* $Id: m_dotprod_tmp.h,v 1.3 2001/03/03 20:57:00 brianp Exp $ */ +/* $Id: m_dotprod_tmp.h,v 1.4 2001/03/12 00:48:41 gareth Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.1 - * - * Copyright (C) 1999 Brian Paul All Rights Reserved. - * + * Version: 3.5 + * + * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -31,10 +31,10 @@ /* Note - respects the stride of the output vector. */ -static void TAG(dotprod_vec2)( GLfloat *out, +static void TAG(dotprod_vec2)( GLfloat *out, GLuint outstride, - const GLvector4f *coord_vec, - const GLfloat plane[4], + const GLvector4f *coord_vec, + const GLfloat plane[4], const GLubyte mask[]) { GLuint stride = coord_vec->stride; @@ -42,9 +42,9 @@ static void TAG(dotprod_vec2)( GLfloat *out, GLuint count = coord_vec->count; GLuint i; - + const GLfloat plane0 = plane[0], plane1 = plane[1], plane3 = plane[3]; - + (void) mask; for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(out,outstride)) { @@ -53,13 +53,13 @@ static void TAG(dotprod_vec2)( GLfloat *out, coord[1] * plane1 + plane3); } - } + } } -static void TAG(dotprod_vec3)( GLfloat *out, +static void TAG(dotprod_vec3)( GLfloat *out, GLuint outstride, - const GLvector4f *coord_vec, - const GLfloat plane[4], + const GLvector4f *coord_vec, + const GLfloat plane[4], const GLubyte mask[]) { GLuint stride = coord_vec->stride; @@ -80,13 +80,13 @@ static void TAG(dotprod_vec3)( GLfloat *out, coord[2] * plane2 + plane3); } - } + } } -static void TAG(dotprod_vec4)( GLfloat *out, +static void TAG(dotprod_vec4)( GLfloat *out, GLuint outstride, - const GLvector4f *coord_vec, - const GLfloat plane[4], + const GLvector4f *coord_vec, + const GLfloat plane[4], const GLubyte mask[]) { GLuint stride = coord_vec->stride; @@ -106,7 +106,7 @@ static void TAG(dotprod_vec4)( GLfloat *out, coord[2] * plane2 + coord[3] * plane3); } - } + } } |