Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1.  
  2. #ifndef GLU_H
  3. #define GLU_H
  4.  
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8.  
  9. void gluPerspective( GLdouble fovy, GLdouble aspect,
  10.                      GLdouble zNear, GLdouble zFar );
  11.  
  12. void
  13. gluLookAt(GLdouble eyex, GLdouble eyey, GLdouble eyez,
  14.           GLdouble centerx, GLdouble centery, GLdouble centerz,
  15.           GLdouble upx, GLdouble upy, GLdouble upz);
  16.  
  17.  
  18. void drawTorus(float rc, int numc, float rt, int numt);
  19.  
  20.  
  21.  
  22. typedef struct {
  23.   int draw_style;
  24. } GLUquadricObj;
  25.  
  26. #define GLU_LINE 0
  27.  
  28. GLUquadricObj* gluNewQuadric(void);
  29. void gluQuadricDrawStyle(GLUquadricObj *obj, int style);
  30.  
  31. void gluSphere(GLUquadricObj *qobj,
  32.                float radius,int slices,int stacks);
  33. void gluCylinder( GLUquadricObj *qobj,
  34.                   GLdouble baseRadius, GLdouble topRadius, GLdouble height,
  35.                   GLint slices, GLint stacks );
  36. void gluDisk( GLUquadricObj *qobj,
  37.               GLdouble innerRadius, GLdouble outerRadius,
  38.               GLint slices, GLint loops );
  39.  
  40.  
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44. #endif
  45.