Home | History | Annotate | Download | only in GL
      1 #ifndef	EMPTY_GLU
      2 #define	EMPTY_GLU
      3 
      4 inline	void	gluOrtho2D( int a,int b, int c ,int d ) { } ;
      5 inline	void	gluLookAt(
      6 				GLfloat a,GLfloat b, GLfloat c,
      7 				GLfloat d,GLfloat e, GLfloat f,
      8 				GLfloat g,GLfloat h, GLfloat i ) { };
      9 
     10 #define	GLU_FILL	1
     11 #define	GLU_SMOOTH	2
     12 
     13 typedef	int	GLUquadric;
     14 typedef	GLUquadric	GLUquadricObj;
     15 
     16 inline	GLUquadric		*gluNewQuadric()									{  return (GLUquadric *)1;	};
     17 inline	void			gluQuadricDrawStyle( GLUquadric *o, int mode)	{};
     18 inline	void			gluQuadricNormals( GLUquadric *o, int mode)		{};
     19 inline	void			gluDeleteQuadric( GLUquadric *q)					{};
     20 inline	void			 gluDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops) {};
     21 inline	void			gluCylinder (GLUquadric* quad, GLdouble base, GLdouble top, GLdouble height, GLint slices, GLint stacks) {};
     22 inline int 			gluBuild2DMipmaps (GLenum      target, GLint       components, GLint       width, GLint       height, GLenum      format, GLenum      type,  const void  *data) { return 0;}
     23 #endif
     24