Ignore:
Timestamp:
May 23, 2000, 10:41:28 PM (25 years ago)
Author:
jeroen
Message:

* empty log message *

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:39 jeroen Exp $ */
     1/* $Id: vertices.c,v 1.3 2000-05-23 20:41:04 jeroen Exp $ */
    22
    33/*
    44 * Mesa 3-D graphics library
    5  * Version:  3.1
     5 * Version:  3.3
    66 *
    77 * Copyright (C) 1999  Brian Paul   All Rights Reserved.
     
    2525 */
    2626
    27 #ifndef XFree86Server
    28 #include <stdio.h>
    29 #else
    30 #include "GL/xf86glx.h"
    31 #endif
     27#include "glheader.h"
    3228#include "types.h"
    3329#include "vertices.h"
     
    6864
    6965
    70 static void __cdecl transform_v16(GLfloat *f,
     66static void _PROJAPI transform_v16(GLfloat *f,
    7167                          const GLfloat *m,
    7268                          const GLfloat *obj,
     
    8985 * at least one such vertex.
    9086 */
    91 static void project_verts(GLfloat *first,
    92                           GLfloat *last,
    93                           const GLfloat *m,
    94                           GLuint stride )
     87static void _PROJAPI project_verts(GLfloat *first,
     88                          GLfloat *last,
     89                          const GLfloat *m,
     90                          GLuint stride )
    9591{
    9692   const GLfloat sx = m[0], sy = m[5], sz = m[10];
     
    108104}
    109105
    110 static void project_clipped_verts(GLfloat *first,
    111                                   GLfloat *last,
    112                                   const GLfloat *m,
    113                                   GLuint stride,
    114                                   const GLubyte *clipmask )
     106static void _PROJAPI project_clipped_verts(GLfloat *first,
     107                                  GLfloat *last,
     108                                  const GLfloat *m,
     109                                  GLuint stride,
     110                                  const GLubyte *clipmask )
    115111{
    116112   const GLfloat sx = m[0], sy = m[5], sz = m[10];
     
    121117   {
    122118      if (!*clipmask) {
    123         const GLfloat oow = 1.0F / f[3];
     119        const GLfloat oow = 1.0F / f[3];
    124120         f[0] = sx * f[0] * oow + tx;
    125121         f[1] = sy * f[1] * oow + ty;
     
    133129
    134130
    135 static void __cdecl cliptest_v16( GLfloat *first,
     131static void _PROJAPI cliptest_v16( GLfloat *first,
    136132                          GLfloat *last,
    137133                          GLubyte *p_clipOr,
     
    192188{
    193189}
    194 
    195 
    196 
    197 
    198 
    199 
    200 
    201 
    202 
Note: See TracChangeset for help on using the changeset viewer.