Changeset 2965 for trunk/src/opengl/mesa/3dfx/vertices.c
- Timestamp:
- Mar 1, 2000, 11:45:30 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/mesa/3dfx/vertices.c
r2938 r2965 1 /* $Id: vertices.c,v 1. 1 2000-02-29 00:46:30 sandervlExp $ */1 /* $Id: vertices.c,v 1.2 2000-03-01 22:45:30 jeroen Exp $ */ 2 2 3 3 /* … … 68 68 69 69 70 static void transform_v16(GLfloat *f,71 72 73 74 70 static void __cdecl transform_v16(GLfloat *f, 71 const GLfloat *m, 72 const GLfloat *obj, 73 GLuint obj_stride, 74 GLuint count ) 75 75 { 76 76 GLuint i; … … 90 90 */ 91 91 static void project_verts(GLfloat *first, 92 93 94 92 GLfloat *last, 93 const GLfloat *m, 94 GLuint stride ) 95 95 { 96 96 const GLfloat sx = m[0], sy = m[5], sz = m[10]; … … 109 109 110 110 static void project_clipped_verts(GLfloat *first, 111 112 113 114 111 GLfloat *last, 112 const GLfloat *m, 113 GLuint stride, 114 const GLubyte *clipmask ) 115 115 { 116 116 const GLfloat sx = m[0], sy = m[5], sz = m[10]; … … 121 121 { 122 122 if (!*clipmask) { 123 124 125 126 127 123 const GLfloat oow = 1.0F / f[3]; 124 f[0] = sx * f[0] * oow + tx; 125 f[1] = sy * f[1] * oow + ty; 126 f[2] = sz * f[2] * oow + tz; 127 f[3] = oow; 128 128 } 129 129 } … … 133 133 134 134 135 static void cliptest_v16( GLfloat *first,136 137 138 139 140 { 135 static void __cdecl cliptest_v16( GLfloat *first, 136 GLfloat *last, 137 GLubyte *p_clipOr, 138 GLubyte *p_clipAnd, 139 GLubyte *clipmask ) 140 { 141 141 GLubyte clipAnd = (GLubyte) ~0; 142 142 GLubyte clipOr = 0;
Note:
See TracChangeset
for help on using the changeset viewer.