Move the name directive from the .spec file to the Makefile.
[wine/gsoc_dplay.git] / dlls / glu32 / glu.c
blobdf400baf628923ba32944ddd64711ab258ed6855
1 /*
2 * Copyright 2001 Marcus Meissner
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #include "winbase.h"
21 /***********************************************************************
22 * gluLookAt (GLU32.@)
24 extern int gluLookAt(double arg0,double arg1,double arg2,double arg3,double arg4,double arg5,double arg6,double arg7,double arg8);
25 int WINAPI wine_gluLookAt(double arg0,double arg1,double arg2,double arg3,double arg4,double arg5,double arg6,double arg7,double arg8) {
26 return gluLookAt(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
29 /***********************************************************************
30 * gluOrtho2D (GLU32.@)
32 extern int gluOrtho2D(double arg0,double arg1,double arg2,double arg3);
33 int WINAPI wine_gluOrtho2D(double arg0,double arg1,double arg2,double arg3) {
34 return gluOrtho2D(arg0,arg1,arg2,arg3);
37 /***********************************************************************
38 * gluPerspective (GLU32.@)
40 extern int gluPerspective(double arg0,double arg1,double arg2,double arg3);
41 int WINAPI wine_gluPerspective(double arg0,double arg1,double arg2,double arg3) {
42 return gluPerspective(arg0,arg1,arg2,arg3);
45 /***********************************************************************
46 * gluPickMatrix (GLU32.@)
48 extern int gluPickMatrix(double arg0,double arg1,double arg2,double arg3,void *arg4);
49 int WINAPI wine_gluPickMatrix(double arg0,double arg1,double arg2,double arg3,void *arg4) {
50 return gluPickMatrix(arg0,arg1,arg2,arg3,arg4);
53 /***********************************************************************
54 * gluProject (GLU32.@)
56 extern int gluProject(double arg0,double arg1,double arg2,void *arg3,void *arg4,void *arg5,void *arg6,void *arg7,void *arg8);
57 int WINAPI wine_gluProject(double arg0,double arg1,double arg2,void *arg3,void *arg4,void *arg5,void *arg6,void *arg7,void *arg8) {
58 return gluProject(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
61 /***********************************************************************
62 * gluUnProject (GLU32.@)
64 extern int gluUnProject(double arg0,double arg1,double arg2,void *arg3,void *arg4,void *arg5,void *arg6,void *arg7,void *arg8);
65 int WINAPI wine_gluUnProject(double arg0,double arg1,double arg2,void *arg3,void *arg4,void *arg5,void *arg6,void *arg7,void *arg8) {
66 return gluUnProject(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
69 /***********************************************************************
70 * gluErrorString (GLU32.@)
72 extern int gluErrorString(int arg0);
73 int WINAPI wine_gluErrorString(int arg0) {
74 return gluErrorString(arg0);
77 /***********************************************************************
78 * gluScaleImage (GLU32.@)
80 extern int gluScaleImage(int arg0,int arg1,int arg2,int arg3,void *arg4,int arg5,int arg6,int arg7,void *arg8);
81 int WINAPI wine_gluScaleImage(int arg0,int arg1,int arg2,int arg3,void *arg4,int arg5,int arg6,int arg7,void *arg8) {
82 return gluScaleImage(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
85 /***********************************************************************
86 * gluBuild1DMipmaps (GLU32.@)
88 extern int gluBuild1DMipmaps(int arg0,int arg1,int arg2,int arg3,int arg4,void *arg5);
89 int WINAPI wine_gluBuild1DMipmaps(int arg0,int arg1,int arg2,int arg3,int arg4,void *arg5) {
90 return gluBuild1DMipmaps(arg0,arg1,arg2,arg3,arg4,arg5);
93 /***********************************************************************
94 * gluBuild2DMipmaps (GLU32.@)
96 extern int gluBuild2DMipmaps(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,void *arg6);
97 int WINAPI wine_gluBuild2DMipmaps(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,void *arg6) {
98 return gluBuild2DMipmaps(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
101 /***********************************************************************
102 * gluNewQuadric (GLU32.@)
104 extern int gluNewQuadric();
105 int WINAPI wine_gluNewQuadric() {
106 return gluNewQuadric();
109 /***********************************************************************
110 * gluDeleteQuadric (GLU32.@)
112 extern int gluDeleteQuadric(void *arg0);
113 int WINAPI wine_gluDeleteQuadric(void *arg0) {
114 return gluDeleteQuadric(arg0);
117 /***********************************************************************
118 * gluQuadricDrawStyle (GLU32.@)
120 extern int gluQuadricDrawStyle(void *arg0,int arg1);
121 int WINAPI wine_gluQuadricDrawStyle(void *arg0,int arg1) {
122 return gluQuadricDrawStyle(arg0,arg1);
125 /***********************************************************************
126 * gluQuadricOrientation (GLU32.@)
128 extern int gluQuadricOrientation(void *arg0,int arg1);
129 int WINAPI wine_gluQuadricOrientation(void *arg0,int arg1) {
130 return gluQuadricOrientation(arg0,arg1);
133 /***********************************************************************
134 * gluQuadricNormals (GLU32.@)
136 extern int gluQuadricNormals(void *arg0,int arg1);
137 int WINAPI wine_gluQuadricNormals(void *arg0,int arg1) {
138 return gluQuadricNormals(arg0,arg1);
141 /***********************************************************************
142 * gluQuadricTexture (GLU32.@)
144 extern int gluQuadricTexture(void *arg0,int arg1);
145 int WINAPI wine_gluQuadricTexture(void *arg0,int arg1) {
146 return gluQuadricTexture(arg0,arg1);
149 /***********************************************************************
150 * gluQuadricCallback (GLU32.@)
152 extern int gluQuadricCallback(void *arg0,int arg1,void *arg2);
153 int WINAPI wine_gluQuadricCallback(void *arg0,int arg1,void *arg2) {
154 return gluQuadricCallback(arg0,arg1,arg2);
157 /***********************************************************************
158 * gluCylinder (GLU32.@)
160 extern int gluCylinder(void *arg0,double arg1,double arg2,double arg3,int arg4,int arg5);
161 int WINAPI wine_gluCylinder(void *arg0,double arg1,double arg2,double arg3,int arg4,int arg5) {
162 return gluCylinder(arg0,arg1,arg2,arg3,arg4,arg5);
165 /***********************************************************************
166 * gluSphere (GLU32.@)
168 extern int gluSphere(void *arg0,double arg1,int arg2,int arg3);
169 int WINAPI wine_gluSphere(void *arg0,double arg1,int arg2,int arg3) {
170 return gluSphere(arg0,arg1,arg2,arg3);
173 /***********************************************************************
174 * gluDisk (GLU32.@)
176 extern int gluDisk(void *arg0,double arg1,double arg2,int arg3,int arg4);
177 int WINAPI wine_gluDisk(void *arg0,double arg1,double arg2,int arg3,int arg4) {
178 return gluDisk(arg0,arg1,arg2,arg3,arg4);
181 /***********************************************************************
182 * gluPartialDisk (GLU32.@)
184 extern int gluPartialDisk(void *arg0,double arg1,double arg2,int arg3,int arg4,double arg5,double arg6);
185 int WINAPI wine_gluPartialDisk(void *arg0,double arg1,double arg2,int arg3,int arg4,double arg5,double arg6) {
186 return gluPartialDisk(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
189 /***********************************************************************
190 * gluNewNurbsRenderer (GLU32.@)
192 extern int gluNewNurbsRenderer();
193 int WINAPI wine_gluNewNurbsRenderer() {
194 return gluNewNurbsRenderer();
197 /***********************************************************************
198 * gluDeleteNurbsRenderer (GLU32.@)
200 extern int gluDeleteNurbsRenderer(void *arg0);
201 int WINAPI wine_gluDeleteNurbsRenderer(void *arg0) {
202 return gluDeleteNurbsRenderer(arg0);
205 /***********************************************************************
206 * gluLoadSamplingMatrices (GLU32.@)
208 extern int gluLoadSamplingMatrices(void *arg0,void *arg1,void *arg2,void *arg3);
209 int WINAPI wine_gluLoadSamplingMatrices(void *arg0,void *arg1,void *arg2,void *arg3) {
210 return gluLoadSamplingMatrices(arg0,arg1,arg2,arg3);
213 /***********************************************************************
214 * gluNurbsProperty (GLU32.@)
216 extern int gluNurbsProperty(void *arg0,int arg1,int arg2);
217 int WINAPI wine_gluNurbsProperty(void *arg0,int arg1,int arg2) {
218 return gluNurbsProperty(arg0,arg1,arg2);
221 /***********************************************************************
222 * gluGetNurbsProperty (GLU32.@)
224 extern int gluGetNurbsProperty(void *arg0,int arg1,void *arg2);
225 int WINAPI wine_gluGetNurbsProperty(void *arg0,int arg1,void *arg2) {
226 return gluGetNurbsProperty(arg0,arg1,arg2);
229 /***********************************************************************
230 * gluBeginCurve (GLU32.@)
232 extern int gluBeginCurve(void *arg0);
233 int WINAPI wine_gluBeginCurve(void *arg0) {
234 return gluBeginCurve(arg0);
237 /***********************************************************************
238 * gluEndCurve (GLU32.@)
240 extern int gluEndCurve(void *arg0);
241 int WINAPI wine_gluEndCurve(void *arg0) {
242 return gluEndCurve(arg0);
245 /***********************************************************************
246 * gluNurbsCurve (GLU32.@)
248 extern int gluNurbsCurve(void *arg0,int arg1,void *arg2,int arg3,void *arg4,int arg5,int arg6);
249 int WINAPI wine_gluNurbsCurve(void *arg0,int arg1,void *arg2,int arg3,void *arg4,int arg5,int arg6) {
250 return gluNurbsCurve(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
253 /***********************************************************************
254 * gluBeginSurface (GLU32.@)
256 extern int gluBeginSurface(void *arg0);
257 int WINAPI wine_gluBeginSurface(void *arg0) {
258 return gluBeginSurface(arg0);
261 /***********************************************************************
262 * gluEndSurface (GLU32.@)
264 extern int gluEndSurface(void *arg0);
265 int WINAPI wine_gluEndSurface(void *arg0) {
266 return gluEndSurface(arg0);
269 /***********************************************************************
270 * gluNurbsSurface (GLU32.@)
272 extern int gluNurbsSurface(void *arg0,int arg1,void *arg2,int arg3,void *arg4,int arg5,int arg6,void *arg7,int arg8,int arg9,int arg10);
273 int WINAPI wine_gluNurbsSurface(void *arg0,int arg1,void *arg2,int arg3,void *arg4,int arg5,int arg6,void *arg7,int arg8,int arg9,int arg10) {
274 return gluNurbsSurface(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
277 /***********************************************************************
278 * gluBeginTrim (GLU32.@)
280 extern int gluBeginTrim(void *arg0);
281 int WINAPI wine_gluBeginTrim(void *arg0) {
282 return gluBeginTrim(arg0);
285 /***********************************************************************
286 * gluEndTrim (GLU32.@)
288 extern int gluEndTrim(void *arg0);
289 int WINAPI wine_gluEndTrim(void *arg0) {
290 return gluEndTrim(arg0);
293 /***********************************************************************
294 * gluPwlCurve (GLU32.@)
296 extern int gluPwlCurve(void *arg0,int arg1,void *arg2,int arg3,int arg4);
297 int WINAPI wine_gluPwlCurve(void *arg0,int arg1,void *arg2,int arg3,int arg4) {
298 return gluPwlCurve(arg0,arg1,arg2,arg3,arg4);
301 /***********************************************************************
302 * gluNurbsCallback (GLU32.@)
304 extern int gluNurbsCallback(void *arg0,int arg1,void *arg2);
305 int WINAPI wine_gluNurbsCallback(void *arg0,int arg1,void *arg2) {
306 return gluNurbsCallback(arg0,arg1,arg2);
309 /***********************************************************************
310 * gluNewTess (GLU32.@)
312 extern int gluNewTess();
313 int WINAPI wine_gluNewTess() {
314 return gluNewTess();
317 /***********************************************************************
318 * gluDeleteTess (GLU32.@)
320 extern int gluDeleteTess(void *arg0);
321 int WINAPI wine_gluDeleteTess(void *arg0) {
322 return gluDeleteTess(arg0);
325 /***********************************************************************
326 * gluTessVertex (GLU32.@)
328 extern int gluTessVertex(void *arg0,void *arg1,void *arg2);
329 int WINAPI wine_gluTessVertex(void *arg0,void *arg1,void *arg2) {
330 return gluTessVertex(arg0,arg1,arg2);
333 /***********************************************************************
334 * gluTessCallback (GLU32.@)
336 extern int gluTessCallback(void *arg0,int arg1,void *arg2);
337 int WINAPI wine_gluTessCallback(void *arg0,int arg1,void *arg2) {
338 return gluTessCallback(arg0,arg1,arg2);
341 /***********************************************************************
342 * gluBeginPolygon (GLU32.@)
344 extern int gluBeginPolygon(void *arg0);
345 int WINAPI wine_gluBeginPolygon(void *arg0) {
346 return gluBeginPolygon(arg0);
349 /***********************************************************************
350 * gluEndPolygon (GLU32.@)
352 extern int gluEndPolygon(void *arg0);
353 int WINAPI wine_gluEndPolygon(void *arg0) {
354 return gluEndPolygon(arg0);
357 /***********************************************************************
358 * gluNextContour (GLU32.@)
360 extern int gluNextContour(void *arg0,int arg1);
361 int WINAPI wine_gluNextContour(void *arg0,int arg1) {
362 return gluNextContour(arg0,arg1);
365 /***********************************************************************
366 * gluGetString (GLU32.@)
368 extern int gluGetString(int arg0);
369 int WINAPI wine_gluGetString(int arg0) {
370 return gluGetString(arg0);
373 /***********************************************************************
374 * gluCheckExtension (GLU32.@)
376 int WINAPI
377 wine_gluCheckExtension( const char *extName, void *extString ) {
378 return 0;