ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

nurbsconsts.h
Go to the documentation of this file.
00001 /*
00002 ** License Applicability. Except to the extent portions of this file are
00003 ** made subject to an alternative license as permitted in the SGI Free
00004 ** Software License B, Version 1.1 (the "License"), the contents of this
00005 ** file are subject only to the provisions of the License. You may not use
00006 ** this file except in compliance with the License. You may obtain a copy
00007 ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
00008 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
00009 **
00010 ** http://oss.sgi.com/projects/FreeB
00011 **
00012 ** Note that, as provided in the License, the Software is distributed on an
00013 ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
00014 ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
00015 ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
00016 ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
00017 **
00018 ** Original Code. The Original Code is: OpenGL Sample Implementation,
00019 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
00020 ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
00021 ** Copyright in any portions created by third parties is as indicated
00022 ** elsewhere herein. All Rights Reserved.
00023 **
00024 ** Additional Notice Provisions: The application programming interfaces
00025 ** established by SGI in conjunction with the Original Code are The
00026 ** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
00027 ** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
00028 ** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
00029 ** Window System(R) (Version 1.3), released October 19, 1998. This software
00030 ** was created using the OpenGL(R) version 1.2.1 Sample Implementation
00031 ** published by SGI, but has not been independently verified as being
00032 ** compliant with the OpenGL(R) version 1.2.1 Specification.
00033 */
00034 
00035 /*
00036  * nurbsconsts.h
00037  *
00038  * $Date: 2007-10-19 23:21:45 +0000 (Fri, 19 Oct 2007) $ $Revision: 1.1 $
00039  * $Header: /cygdrive/c/RCVS/CVS/ReactOS/reactos/lib/glu32/libnurbs/internals/nurbsconsts.h,v 1.1 2004/02/02 16:39:12 navaraf Exp $
00040  */
00041 
00042 #ifndef __glunurbsconsts_h_
00043 #define __glunurbsconsts_h_
00044 
00045 /* NURBS Properties - one set per map,
00046    each takes a single INREAL arg */
00047 #define N_SAMPLING_TOLERANCE    1
00048 #define N_S_RATE        6
00049 #define N_T_RATE        7
00050 #define N_CLAMPFACTOR       13
00051 #define     N_NOCLAMPING        0.0
00052 #define N_MINSAVINGS        14
00053 #define     N_NOSAVINGSSUBDIVISION  0.0
00054 
00055 /* NURBS Properties - one set per map,
00056    each takes an enumerated value */
00057 #define N_CULLING       2
00058 #define     N_NOCULLING     0.0
00059 #define     N_CULLINGON     1.0
00060 #define N_SAMPLINGMETHOD    10
00061 #define     N_NOSAMPLING        0.0
00062 #define     N_FIXEDRATE     3.0
00063 #define     N_DOMAINDISTANCE    2.0
00064 #define     N_PARAMETRICDISTANCE    5.0
00065 #define     N_PATHLENGTH        6.0
00066 #define     N_SURFACEAREA       7.0
00067 #define         N_OBJECTSPACE_PARA           8.0
00068 #define         N_OBJECTSPACE_PATH           9.0
00069 #define N_BBOX_SUBDIVIDING  17
00070 #define     N_NOBBOXSUBDIVISION 0.0
00071 #define     N_BBOXTIGHT     1.0
00072 #define     N_BBOXROUND     2.0
00073 
00074 /* NURBS Rendering Properties - one set per renderer
00075    each takes an enumerated value */
00076 #define N_DISPLAY       3
00077 #define     N_FILL          1.0
00078 #define     N_OUTLINE_POLY      2.0
00079 #define     N_OUTLINE_TRI       3.0
00080 #define     N_OUTLINE_QUAD      4.0
00081 #define     N_OUTLINE_PATCH     5.0
00082 #define     N_OUTLINE_PARAM     6.0
00083 #define     N_OUTLINE_PARAM_S   7.0
00084 #define     N_OUTLINE_PARAM_ST  8.0
00085 #define     N_OUTLINE_SUBDIV    9.0
00086 #define     N_OUTLINE_SUBDIV_S  10.0
00087 #define     N_OUTLINE_SUBDIV_ST     11.0
00088 #define     N_ISOLINE_S     12.0
00089 #define N_ERRORCHECKING     4
00090 #define     N_NOMSG         0.0
00091 #define     N_MSG           1.0
00092 
00093 /* GL 4.0 propeties not defined above */
00094 #ifndef N_PIXEL_TOLERANCE
00095 #define N_PIXEL_TOLERANCE   N_SAMPLING_TOLERANCE
00096 #define N_ERROR_TOLERANCE   20
00097 #define N_SUBDIVISIONS      5
00098 #define N_TILES         8
00099 #define N_TMP1          9
00100 #define N_TMP2          N_SAMPLINGMETHOD
00101 #define N_TMP3          11
00102 #define N_TMP4          12
00103 #define N_TMP5          N_CLAMPFACTOR
00104 #define N_TMP6          N_MINSAVINGS
00105 #define N_S_STEPS       N_S_RATE
00106 #define N_T_STEPS       N_T_RATE
00107 #endif
00108 
00109 /* NURBS Rendering Properties - one set per map,
00110    each takes an INREAL matrix argument */
00111 #define N_CULLINGMATRIX     1
00112 #define N_SAMPLINGMATRIX    2
00113 #define N_BBOXMATRIX        3
00114 
00115 
00116 /* NURBS Rendering Properties - one set per map,
00117    each takes an INREAL vector argument */
00118 #define N_BBOXSIZE      4
00119 
00120 /* type argument for trimming curves */
00121 #ifndef N_P2D
00122 #define N_P2D           0x8
00123 #define N_P2DR          0xd
00124 #endif
00125 
00126 #endif /* __glunurbsconsts_h_ */

Generated on Sun May 27 2012 04:23:40 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.