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

  1. /* eval.h */
  2.  
  3. /*
  4.  * Mesa 3-D graphics library
  5.  * Version:  1.2
  6.  * Copyright (C) 1995  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. $Id: eval.h,v 1.3 1995/05/22 20:59:34 brianp Exp $
  26.  
  27. $Log: eval.h,v $
  28.  * Revision 1.3  1995/05/22  20:59:34  brianp
  29.  * Release 1.2
  30.  *
  31.  * Revision 1.2  1995/03/04  19:25:29  brianp
  32.  * 1.1 beta revision
  33.  *
  34.  * Revision 1.1  1995/02/24  14:22:00  brianp
  35.  * Initial revision
  36.  *
  37.  */
  38.  
  39.  
  40. #ifndef EVAL_H
  41. #define EVAL_H
  42.  
  43. #include "GL/gl.h"
  44.  
  45.  
  46. extern void gl_init_eval( void );
  47.  
  48.  
  49. extern void gl_free_control_points( GLenum target, GLfloat *data );
  50.  
  51.  
  52. extern void gl_map1( GLenum target, GLfloat u1, GLfloat u2, GLint stride,
  53.              GLint order, const GLfloat *points );
  54.  
  55. extern void gl_map2( GLenum target,
  56.              GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
  57.              GLfloat v1, GLfloat v2, GLint vstride, GLint vorder,
  58.              const GLfloat *points );
  59.  
  60.  
  61. extern void gl_evalcoord1( GLfloat u );
  62.  
  63. extern void gl_evalcoord2( GLfloat u, GLfloat v );
  64.  
  65.  
  66. extern void gl_mapgrid1( GLint un, GLfloat u1, GLfloat u2 );
  67.  
  68. extern void gl_mapgrid2( GLint un, GLfloat u1, GLfloat u2,
  69.              GLint vn, GLfloat v1, GLfloat v2 );
  70.  
  71. #endif
  72.