fad5dd0ada310abd436e27c67e17aed9939609c8
[reactos.git] / dll / opengl / glu32 / src / libnurbs / internals / basicsurfeval.cc
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 * basicsurfaceevaluator.c++
37 *
38 */
39
40 #include "mystdio.h"
41 #include "types.h"
42 #include "basicsurfeval.h"
43
44 #ifdef __WATCOMC__
45 #pragma warning 726 10
46 #endif
47
48 void
49 BasicSurfaceEvaluator::domain2f( REAL, REAL, REAL, REAL )
50 {
51 #ifndef NDEBUG
52 _glu_dprintf( "domain2f\n" );
53 #endif
54 }
55
56 void
57 BasicSurfaceEvaluator::polymode( long )
58 {
59 #ifndef NDEBUG
60 _glu_dprintf( "polymode\n" );
61 #endif
62 }
63
64 void
65 BasicSurfaceEvaluator::range2f( long type, REAL *from, REAL *to )
66 {
67 #ifndef NDEBUG
68 _glu_dprintf( "range2f type %ld, from (%g,%g), to (%g,%g)\n",
69 type, from[0], from[1], to[0], to[1] );
70 #endif
71 }
72
73 void
74 BasicSurfaceEvaluator::enable( long )
75 {
76 #ifndef NDEBUG
77 _glu_dprintf( "enable\n" );
78 #endif
79 }
80
81 void
82 BasicSurfaceEvaluator::disable( long )
83 {
84 #ifndef NDEBUG
85 _glu_dprintf( "disable\n" );
86 #endif
87 }
88
89 void
90 BasicSurfaceEvaluator::bgnmap2f( long )
91 {
92 #ifndef NDEBUG
93 _glu_dprintf( "bgnmap2f\n" );
94 #endif
95 }
96
97 void
98 BasicSurfaceEvaluator::endmap2f( void )
99 {
100 #ifndef NDEBUG
101 _glu_dprintf( "endmap2f\n" );
102 #endif
103 }
104
105 void
106 BasicSurfaceEvaluator::map2f( long, REAL, REAL, long, long,
107 REAL, REAL, long, long,
108 REAL * )
109 {
110 #ifndef NDEBUG
111 _glu_dprintf( "map2f\n" );
112 #endif
113 }
114
115 void
116 BasicSurfaceEvaluator::mapgrid2f( long, REAL, REAL, long, REAL, REAL )
117 {
118 #ifndef NDEBUG
119 _glu_dprintf( "mapgrid2f\n" );
120 #endif
121 }
122
123 void
124 BasicSurfaceEvaluator::mapmesh2f( long, long, long, long, long )
125 {
126 #ifndef NDEBUG
127 _glu_dprintf( "mapmesh2f\n" );
128 #endif
129 }
130
131 void
132 BasicSurfaceEvaluator::evalcoord2f( long, REAL, REAL )
133 {
134 #ifndef NDEBUG
135 _glu_dprintf( "evalcoord2f\n" );
136 #endif
137 }
138
139 void
140 BasicSurfaceEvaluator::evalpoint2i( long, long )
141 {
142 #ifndef NDEBUG
143 _glu_dprintf( "evalpoint2i\n" );
144 #endif
145 }
146
147 void
148 BasicSurfaceEvaluator::bgnline( void )
149 {
150 #ifndef NDEBUG
151 _glu_dprintf( "bgnline\n" );
152 #endif
153 }
154
155 void
156 BasicSurfaceEvaluator::endline( void )
157 {
158 #ifndef NDEBUG
159 _glu_dprintf( "endline\n" );
160 #endif
161 }
162
163 void
164 BasicSurfaceEvaluator::bgnclosedline( void )
165 {
166 #ifndef NDEBUG
167 _glu_dprintf( "bgnclosedline\n" );
168 #endif
169 }
170
171 void
172 BasicSurfaceEvaluator::endclosedline( void )
173 {
174 #ifndef NDEBUG
175 _glu_dprintf( "endclosedline\n" );
176 #endif
177 }
178
179 void
180 BasicSurfaceEvaluator::bgntfan( void )
181 {
182 #ifndef NDEBUG
183 _glu_dprintf( "bgntfan\n" );
184 #endif
185 }
186
187 void
188 BasicSurfaceEvaluator::endtfan( void )
189 {
190 }
191
192
193 void
194 BasicSurfaceEvaluator::bgntmesh( void )
195 {
196 #ifndef NDEBUG
197 _glu_dprintf( "bgntmesh\n" );
198 #endif
199 }
200
201 void
202 BasicSurfaceEvaluator::swaptmesh( void )
203 {
204 #ifndef NDEBUG
205 _glu_dprintf( "swaptmesh\n" );
206 #endif
207 }
208
209 void
210 BasicSurfaceEvaluator::endtmesh( void )
211 {
212 #ifndef NDEBUG
213 _glu_dprintf( "endtmesh\n" );
214 #endif
215 }
216
217 void
218 BasicSurfaceEvaluator::bgnqstrip( void )
219 {
220 #ifndef NDEBUG
221 _glu_dprintf( "bgnqstrip\n" );
222 #endif
223 }
224
225 void
226 BasicSurfaceEvaluator::endqstrip( void )
227 {
228 #ifndef NDEBUG
229 _glu_dprintf( "endqstrip\n" );
230 #endif
231 }
232