Changeset 3598 for trunk/src/opengl/mesa/vertices.c
- Timestamp:
- May 23, 2000, 10:41:28 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/mesa/vertices.c
r2962 r3598 1 /* $Id: vertices.c,v 1. 2 2000-03-01 18:49:39jeroen Exp $ */1 /* $Id: vertices.c,v 1.3 2000-05-23 20:41:04 jeroen Exp $ */ 2 2 3 3 /* 4 4 * Mesa 3-D graphics library 5 * Version: 3. 15 * Version: 3.3 6 6 * 7 7 * Copyright (C) 1999 Brian Paul All Rights Reserved. … … 25 25 */ 26 26 27 #ifndef XFree86Server 28 #include <stdio.h> 29 #else 30 #include "GL/xf86glx.h" 31 #endif 27 #include "glheader.h" 32 28 #include "types.h" 33 29 #include "vertices.h" … … 68 64 69 65 70 static void _ _cdecltransform_v16(GLfloat *f,66 static void _PROJAPI transform_v16(GLfloat *f, 71 67 const GLfloat *m, 72 68 const GLfloat *obj, … … 89 85 * at least one such vertex. 90 86 */ 91 static void project_verts(GLfloat *first,92 93 94 87 static void _PROJAPI project_verts(GLfloat *first, 88 GLfloat *last, 89 const GLfloat *m, 90 GLuint stride ) 95 91 { 96 92 const GLfloat sx = m[0], sy = m[5], sz = m[10]; … … 108 104 } 109 105 110 static void project_clipped_verts(GLfloat *first,111 112 113 114 106 static void _PROJAPI project_clipped_verts(GLfloat *first, 107 GLfloat *last, 108 const GLfloat *m, 109 GLuint stride, 110 const GLubyte *clipmask ) 115 111 { 116 112 const GLfloat sx = m[0], sy = m[5], sz = m[10]; … … 121 117 { 122 118 if (!*clipmask) { 123 119 const GLfloat oow = 1.0F / f[3]; 124 120 f[0] = sx * f[0] * oow + tx; 125 121 f[1] = sy * f[1] * oow + ty; … … 133 129 134 130 135 static void _ _cdeclcliptest_v16( GLfloat *first,131 static void _PROJAPI cliptest_v16( GLfloat *first, 136 132 GLfloat *last, 137 133 GLubyte *p_clipOr, … … 192 188 { 193 189 } 194 195 196 197 198 199 200 201 202
Note:
See TracChangeset
for help on using the changeset viewer.