wine/dlls/glu32/glu.c

380 lines
13 KiB
C
Raw Normal View History

/*
* Copyright 2001 Marcus Meissner
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "winbase.h"
/***********************************************************************
* gluLookAt (GLU32.@)
*/
extern int gluLookAt(double arg0,double arg1,double arg2,double arg3,double arg4,double arg5,double arg6,double arg7,double arg8);
int WINAPI wine_gluLookAt(double arg0,double arg1,double arg2,double arg3,double arg4,double arg5,double arg6,double arg7,double arg8) {
return gluLookAt(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
}
/***********************************************************************
* gluOrtho2D (GLU32.@)
*/
extern int gluOrtho2D(double arg0,double arg1,double arg2,double arg3);
int WINAPI wine_gluOrtho2D(double arg0,double arg1,double arg2,double arg3) {
return gluOrtho2D(arg0,arg1,arg2,arg3);
}
/***********************************************************************
* gluPerspective (GLU32.@)
*/
extern int gluPerspective(double arg0,double arg1,double arg2,double arg3);
int WINAPI wine_gluPerspective(double arg0,double arg1,double arg2,double arg3) {
return gluPerspective(arg0,arg1,arg2,arg3);
}
/***********************************************************************
* gluPickMatrix (GLU32.@)
*/
extern int gluPickMatrix(double arg0,double arg1,double arg2,double arg3,void *arg4);
int WINAPI wine_gluPickMatrix(double arg0,double arg1,double arg2,double arg3,void *arg4) {
return gluPickMatrix(arg0,arg1,arg2,arg3,arg4);
}
/***********************************************************************
* gluProject (GLU32.@)
*/
extern int gluProject(double arg0,double arg1,double arg2,void *arg3,void *arg4,void *arg5,void *arg6,void *arg7,void *arg8);
int WINAPI wine_gluProject(double arg0,double arg1,double arg2,void *arg3,void *arg4,void *arg5,void *arg6,void *arg7,void *arg8) {
return gluProject(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
}
/***********************************************************************
* gluUnProject (GLU32.@)
*/
extern int gluUnProject(double arg0,double arg1,double arg2,void *arg3,void *arg4,void *arg5,void *arg6,void *arg7,void *arg8);
int WINAPI wine_gluUnProject(double arg0,double arg1,double arg2,void *arg3,void *arg4,void *arg5,void *arg6,void *arg7,void *arg8) {
return gluUnProject(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
}
/***********************************************************************
* gluErrorString (GLU32.@)
*/
extern int gluErrorString(int arg0);
int WINAPI wine_gluErrorString(int arg0) {
return gluErrorString(arg0);
}
/***********************************************************************
* gluScaleImage (GLU32.@)
*/
extern int gluScaleImage(int arg0,int arg1,int arg2,int arg3,void *arg4,int arg5,int arg6,int arg7,void *arg8);
int WINAPI wine_gluScaleImage(int arg0,int arg1,int arg2,int arg3,void *arg4,int arg5,int arg6,int arg7,void *arg8) {
return gluScaleImage(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
}
/***********************************************************************
* gluBuild1DMipmaps (GLU32.@)
*/
extern int gluBuild1DMipmaps(int arg0,int arg1,int arg2,int arg3,int arg4,void *arg5);
int WINAPI wine_gluBuild1DMipmaps(int arg0,int arg1,int arg2,int arg3,int arg4,void *arg5) {
return gluBuild1DMipmaps(arg0,arg1,arg2,arg3,arg4,arg5);
}
/***********************************************************************
* gluBuild2DMipmaps (GLU32.@)
*/
extern int gluBuild2DMipmaps(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,void *arg6);
int WINAPI wine_gluBuild2DMipmaps(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,void *arg6) {
return gluBuild2DMipmaps(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
}
/***********************************************************************
* gluNewQuadric (GLU32.@)
*/
extern int gluNewQuadric();
int WINAPI wine_gluNewQuadric() {
return gluNewQuadric();
}
/***********************************************************************
* gluDeleteQuadric (GLU32.@)
*/
extern int gluDeleteQuadric(void *arg0);
int WINAPI wine_gluDeleteQuadric(void *arg0) {
return gluDeleteQuadric(arg0);
}
/***********************************************************************
* gluQuadricDrawStyle (GLU32.@)
*/
extern int gluQuadricDrawStyle(void *arg0,int arg1);
int WINAPI wine_gluQuadricDrawStyle(void *arg0,int arg1) {
return gluQuadricDrawStyle(arg0,arg1);
}
/***********************************************************************
* gluQuadricOrientation (GLU32.@)
*/
extern int gluQuadricOrientation(void *arg0,int arg1);
int WINAPI wine_gluQuadricOrientation(void *arg0,int arg1) {
return gluQuadricOrientation(arg0,arg1);
}
/***********************************************************************
* gluQuadricNormals (GLU32.@)
*/
extern int gluQuadricNormals(void *arg0,int arg1);
int WINAPI wine_gluQuadricNormals(void *arg0,int arg1) {
return gluQuadricNormals(arg0,arg1);
}
/***********************************************************************
* gluQuadricTexture (GLU32.@)
*/
extern int gluQuadricTexture(void *arg0,int arg1);
int WINAPI wine_gluQuadricTexture(void *arg0,int arg1) {
return gluQuadricTexture(arg0,arg1);
}
/***********************************************************************
* gluQuadricCallback (GLU32.@)
*/
extern int gluQuadricCallback(void *arg0,int arg1,void *arg2);
int WINAPI wine_gluQuadricCallback(void *arg0,int arg1,void *arg2) {
return gluQuadricCallback(arg0,arg1,arg2);
}
/***********************************************************************
* gluCylinder (GLU32.@)
*/
extern int gluCylinder(void *arg0,double arg1,double arg2,double arg3,int arg4,int arg5);
int WINAPI wine_gluCylinder(void *arg0,double arg1,double arg2,double arg3,int arg4,int arg5) {
return gluCylinder(arg0,arg1,arg2,arg3,arg4,arg5);
}
/***********************************************************************
* gluSphere (GLU32.@)
*/
extern int gluSphere(void *arg0,double arg1,int arg2,int arg3);
int WINAPI wine_gluSphere(void *arg0,double arg1,int arg2,int arg3) {
return gluSphere(arg0,arg1,arg2,arg3);
}
/***********************************************************************
* gluDisk (GLU32.@)
*/
extern int gluDisk(void *arg0,double arg1,double arg2,int arg3,int arg4);
int WINAPI wine_gluDisk(void *arg0,double arg1,double arg2,int arg3,int arg4) {
return gluDisk(arg0,arg1,arg2,arg3,arg4);
}
/***********************************************************************
* gluPartialDisk (GLU32.@)
*/
extern int gluPartialDisk(void *arg0,double arg1,double arg2,int arg3,int arg4,double arg5,double arg6);
int WINAPI wine_gluPartialDisk(void *arg0,double arg1,double arg2,int arg3,int arg4,double arg5,double arg6) {
return gluPartialDisk(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
}
/***********************************************************************
* gluNewNurbsRenderer (GLU32.@)
*/
extern int gluNewNurbsRenderer();
int WINAPI wine_gluNewNurbsRenderer() {
return gluNewNurbsRenderer();
}
/***********************************************************************
* gluDeleteNurbsRenderer (GLU32.@)
*/
extern int gluDeleteNurbsRenderer(void *arg0);
int WINAPI wine_gluDeleteNurbsRenderer(void *arg0) {
return gluDeleteNurbsRenderer(arg0);
}
/***********************************************************************
* gluLoadSamplingMatrices (GLU32.@)
*/
extern int gluLoadSamplingMatrices(void *arg0,void *arg1,void *arg2,void *arg3);
int WINAPI wine_gluLoadSamplingMatrices(void *arg0,void *arg1,void *arg2,void *arg3) {
return gluLoadSamplingMatrices(arg0,arg1,arg2,arg3);
}
/***********************************************************************
* gluNurbsProperty (GLU32.@)
*/
extern int gluNurbsProperty(void *arg0,int arg1,int arg2);
int WINAPI wine_gluNurbsProperty(void *arg0,int arg1,int arg2) {
return gluNurbsProperty(arg0,arg1,arg2);
}
/***********************************************************************
* gluGetNurbsProperty (GLU32.@)
*/
extern int gluGetNurbsProperty(void *arg0,int arg1,void *arg2);
int WINAPI wine_gluGetNurbsProperty(void *arg0,int arg1,void *arg2) {
return gluGetNurbsProperty(arg0,arg1,arg2);
}
/***********************************************************************
* gluBeginCurve (GLU32.@)
*/
extern int gluBeginCurve(void *arg0);
int WINAPI wine_gluBeginCurve(void *arg0) {
return gluBeginCurve(arg0);
}
/***********************************************************************
* gluEndCurve (GLU32.@)
*/
extern int gluEndCurve(void *arg0);
int WINAPI wine_gluEndCurve(void *arg0) {
return gluEndCurve(arg0);
}
/***********************************************************************
* gluNurbsCurve (GLU32.@)
*/
extern int gluNurbsCurve(void *arg0,int arg1,void *arg2,int arg3,void *arg4,int arg5,int arg6);
int WINAPI wine_gluNurbsCurve(void *arg0,int arg1,void *arg2,int arg3,void *arg4,int arg5,int arg6) {
return gluNurbsCurve(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
}
/***********************************************************************
* gluBeginSurface (GLU32.@)
*/
extern int gluBeginSurface(void *arg0);
int WINAPI wine_gluBeginSurface(void *arg0) {
return gluBeginSurface(arg0);
}
/***********************************************************************
* gluEndSurface (GLU32.@)
*/
extern int gluEndSurface(void *arg0);
int WINAPI wine_gluEndSurface(void *arg0) {
return gluEndSurface(arg0);
}
/***********************************************************************
* gluNurbsSurface (GLU32.@)
*/
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);
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) {
return gluNurbsSurface(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
}
/***********************************************************************
* gluBeginTrim (GLU32.@)
*/
extern int gluBeginTrim(void *arg0);
int WINAPI wine_gluBeginTrim(void *arg0) {
return gluBeginTrim(arg0);
}
/***********************************************************************
* gluEndTrim (GLU32.@)
*/
extern int gluEndTrim(void *arg0);
int WINAPI wine_gluEndTrim(void *arg0) {
return gluEndTrim(arg0);
}
/***********************************************************************
* gluPwlCurve (GLU32.@)
*/
extern int gluPwlCurve(void *arg0,int arg1,void *arg2,int arg3,int arg4);
int WINAPI wine_gluPwlCurve(void *arg0,int arg1,void *arg2,int arg3,int arg4) {
return gluPwlCurve(arg0,arg1,arg2,arg3,arg4);
}
/***********************************************************************
* gluNurbsCallback (GLU32.@)
*/
extern int gluNurbsCallback(void *arg0,int arg1,void *arg2);
int WINAPI wine_gluNurbsCallback(void *arg0,int arg1,void *arg2) {
return gluNurbsCallback(arg0,arg1,arg2);
}
/***********************************************************************
* gluNewTess (GLU32.@)
*/
extern int gluNewTess();
int WINAPI wine_gluNewTess() {
return gluNewTess();
}
/***********************************************************************
* gluDeleteTess (GLU32.@)
*/
extern int gluDeleteTess(void *arg0);
int WINAPI wine_gluDeleteTess(void *arg0) {
return gluDeleteTess(arg0);
}
/***********************************************************************
* gluTessVertex (GLU32.@)
*/
extern int gluTessVertex(void *arg0,void *arg1,void *arg2);
int WINAPI wine_gluTessVertex(void *arg0,void *arg1,void *arg2) {
return gluTessVertex(arg0,arg1,arg2);
}
/***********************************************************************
* gluTessCallback (GLU32.@)
*/
extern int gluTessCallback(void *arg0,int arg1,void *arg2);
int WINAPI wine_gluTessCallback(void *arg0,int arg1,void *arg2) {
return gluTessCallback(arg0,arg1,arg2);
}
/***********************************************************************
* gluBeginPolygon (GLU32.@)
*/
extern int gluBeginPolygon(void *arg0);
int WINAPI wine_gluBeginPolygon(void *arg0) {
return gluBeginPolygon(arg0);
}
/***********************************************************************
* gluEndPolygon (GLU32.@)
*/
extern int gluEndPolygon(void *arg0);
int WINAPI wine_gluEndPolygon(void *arg0) {
return gluEndPolygon(arg0);
}
/***********************************************************************
* gluNextContour (GLU32.@)
*/
extern int gluNextContour(void *arg0,int arg1);
int WINAPI wine_gluNextContour(void *arg0,int arg1) {
return gluNextContour(arg0,arg1);
}
/***********************************************************************
* gluGetString (GLU32.@)
*/
extern int gluGetString(int arg0);
int WINAPI wine_gluGetString(int arg0) {
return gluGetString(arg0);
}
/***********************************************************************
* gluCheckExtension (GLU32.@)
*/
int WINAPI
wine_gluCheckExtension( const char *extName, void *extString ) {
return 0;
}