reshuffling of dlls
[reactos.git] / reactos / dll / win32 / glu32 / libnurbs / internals / nurbsconsts.h
1 /*
2 ** License Applicability. Except to the extent portions of this file are
3 ** made subject to an alternative license as permitted in the SGI Free
4 ** Software License B, Version 1.1 (the "License"), the contents of this
5 ** file are subject only to the provisions of the License. You may not use
6 ** this file except in compliance with the License. You may obtain a copy
7 ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
8 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
9 **
10 ** http://oss.sgi.com/projects/FreeB
11 **
12 ** Note that, as provided in the License, the Software is distributed on an
13 ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
14 ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
15 ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
16 ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
17 **
18 ** Original Code. The Original Code is: OpenGL Sample Implementation,
19 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
20 ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
21 ** Copyright in any portions created by third parties is as indicated
22 ** elsewhere herein. All Rights Reserved.
23 **
24 ** Additional Notice Provisions: The application programming interfaces
25 ** established by SGI in conjunction with the Original Code are The
26 ** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
27 ** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
28 ** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
29 ** Window System(R) (Version 1.3), released October 19, 1998. This software
30 ** was created using the OpenGL(R) version 1.2.1 Sample Implementation
31 ** published by SGI, but has not been independently verified as being
32 ** compliant with the OpenGL(R) version 1.2.1 Specification.
33 */
34
35 /*
36 * nurbsconsts.h
37 *
38 * $Date$ $Revision: 1.1 $
39 * $Header: /cygdrive/c/RCVS/CVS/ReactOS/reactos/lib/glu32/libnurbs/internals/nurbsconsts.h,v 1.1 2004/02/02 16:39:12 navaraf Exp $
40 */
41
42 #ifndef __glunurbsconsts_h_
43 #define __glunurbsconsts_h_
44
45 /* NURBS Properties - one set per map,
46 each takes a single INREAL arg */
47 #define N_SAMPLING_TOLERANCE 1
48 #define N_S_RATE 6
49 #define N_T_RATE 7
50 #define N_CLAMPFACTOR 13
51 #define N_NOCLAMPING 0.0
52 #define N_MINSAVINGS 14
53 #define N_NOSAVINGSSUBDIVISION 0.0
54
55 /* NURBS Properties - one set per map,
56 each takes an enumerated value */
57 #define N_CULLING 2
58 #define N_NOCULLING 0.0
59 #define N_CULLINGON 1.0
60 #define N_SAMPLINGMETHOD 10
61 #define N_NOSAMPLING 0.0
62 #define N_FIXEDRATE 3.0
63 #define N_DOMAINDISTANCE 2.0
64 #define N_PARAMETRICDISTANCE 5.0
65 #define N_PATHLENGTH 6.0
66 #define N_SURFACEAREA 7.0
67 #define N_OBJECTSPACE_PARA 8.0
68 #define N_OBJECTSPACE_PATH 9.0
69 #define N_BBOX_SUBDIVIDING 17
70 #define N_NOBBOXSUBDIVISION 0.0
71 #define N_BBOXTIGHT 1.0
72 #define N_BBOXROUND 2.0
73
74 /* NURBS Rendering Properties - one set per renderer
75 each takes an enumerated value */
76 #define N_DISPLAY 3
77 #define N_FILL 1.0
78 #define N_OUTLINE_POLY 2.0
79 #define N_OUTLINE_TRI 3.0
80 #define N_OUTLINE_QUAD 4.0
81 #define N_OUTLINE_PATCH 5.0
82 #define N_OUTLINE_PARAM 6.0
83 #define N_OUTLINE_PARAM_S 7.0
84 #define N_OUTLINE_PARAM_ST 8.0
85 #define N_OUTLINE_SUBDIV 9.0
86 #define N_OUTLINE_SUBDIV_S 10.0
87 #define N_OUTLINE_SUBDIV_ST 11.0
88 #define N_ISOLINE_S 12.0
89 #define N_ERRORCHECKING 4
90 #define N_NOMSG 0.0
91 #define N_MSG 1.0
92
93 /* GL 4.0 propeties not defined above */
94 #ifndef N_PIXEL_TOLERANCE
95 #define N_PIXEL_TOLERANCE N_SAMPLING_TOLERANCE
96 #define N_ERROR_TOLERANCE 20
97 #define N_SUBDIVISIONS 5
98 #define N_TILES 8
99 #define N_TMP1 9
100 #define N_TMP2 N_SAMPLINGMETHOD
101 #define N_TMP3 11
102 #define N_TMP4 12
103 #define N_TMP5 N_CLAMPFACTOR
104 #define N_TMP6 N_MINSAVINGS
105 #define N_S_STEPS N_S_RATE
106 #define N_T_STEPS N_T_RATE
107 #endif
108
109 /* NURBS Rendering Properties - one set per map,
110 each takes an INREAL matrix argument */
111 #define N_CULLINGMATRIX 1
112 #define N_SAMPLINGMATRIX 2
113 #define N_BBOXMATRIX 3
114
115
116 /* NURBS Rendering Properties - one set per map,
117 each takes an INREAL vector argument */
118 #define N_BBOXSIZE 4
119
120 /* type argument for trimming curves */
121 #ifndef N_P2D
122 #define N_P2D 0x8
123 #define N_P2DR 0xd
124 #endif
125
126 #endif /* __glunurbsconsts_h_ */