home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / mesa-1.2.8 / src / draw.h < prev    next >
C/C++ Source or Header  |  1996-05-27  |  3KB  |  97 lines

  1. /* $Id: draw.h,v 1.11 1996/05/01 20:46:01 brianp Exp $ */
  2.  
  3. /*
  4.  * Mesa 3-D graphics library
  5.  * Version:  1.2
  6.  * Copyright (C) 1995-1996  Brian Paul  (brianp@ssec.wisc.edu)
  7.  *
  8.  * This library is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU Library General Public
  10.  * License as published by the Free Software Foundation; either
  11.  * version 2 of the License, or (at your option) any later version.
  12.  *
  13.  * This library is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.  * Library General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU Library General Public
  19.  * License along with this library; if not, write to the Free
  20.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  */
  22.  
  23.  
  24. /*
  25. $Log: draw.h,v $
  26.  * Revision 1.11  1996/05/01  20:46:01  brianp
  27.  * added GL_MESA_window_pos extension code
  28.  *
  29.  * Revision 1.10  1996/04/23  22:05:12  brianp
  30.  * removed gl_execute_vertex() and added gl_nop_vertex()
  31.  *
  32.  * Revision 1.9  1996/02/15  16:52:56  brianp
  33.  * added gl_transform_vb_part2
  34.  *
  35.  * Revision 1.8  1995/12/30  17:15:11  brianp
  36.  * gl_eval_vertex now takes integer colors
  37.  *
  38.  * Revision 1.7  1995/12/20  17:28:15  brianp
  39.  * removed gl_index and gl_color, now they're inlined
  40.  *
  41.  * Revision 1.6  1995/07/25  16:42:22  brianp
  42.  * made changes for using CC.VertexFunc pointer
  43.  *
  44.  * Revision 1.5  1995/05/22  20:59:34  brianp
  45.  * Release 1.2
  46.  *
  47.  * Revision 1.4  1995/03/09  19:05:36  brianp
  48.  * fixed a typo
  49.  *
  50.  * Revision 1.3  1995/03/04  19:25:29  brianp
  51.  * 1.1 beta revision
  52.  *
  53.  * Revision 1.2  1995/03/02  19:12:06  brianp
  54.  * removed const from gl_eval_vertex()'s t argument
  55.  *
  56.  * Revision 1.1  1995/02/24  14:20:46  brianp
  57.  * Initial revision
  58.  *
  59.  */
  60.  
  61.  
  62. #ifndef DRAW_H
  63. #define DRAW_H
  64.  
  65.  
  66. #include "GL/gl.h"
  67.  
  68.  
  69. extern void gl_transform_vb_part2( GLboolean alldone );
  70.  
  71.  
  72. extern void gl_save_and_execute_vertex( GLfloat x, GLfloat y,
  73.                         GLfloat z, GLfloat w );
  74.  
  75.  
  76. extern void gl_nop_vertex( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
  77.  
  78.  
  79. extern void gl_eval_vertex( const GLfloat vertex[4], const GLfloat normal[3],
  80.                 const GLint color[4], GLuint index,
  81.                             const GLfloat texcoord[4] );
  82.  
  83.  
  84. extern void gl_rasterpos( const GLfloat v[4] );
  85.  
  86.  
  87. extern void gl_windowpos( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
  88.  
  89.  
  90. extern void gl_begin( GLenum p );
  91.  
  92.  
  93. extern void gl_end( void );
  94.  
  95.  
  96. #endif
  97.