source: trunk/sys/TinyGL/examples/glu.h @ 397

Last change on this file since 397 was 1, checked in by alain, 8 years ago

First import

File size: 706 bytes
RevLine 
[1]1
2void gluPerspective( GLdouble fovy, GLdouble aspect,
3                     GLdouble zNear, GLdouble zFar );
4
5typedef struct {
6  int draw_style;
7} GLUquadricObj;
8
9#define GLU_LINE 0
10
11GLUquadricObj *gluNewQuadric(void);
12void gluQuadricDrawStyle(GLUquadricObj *obj, int style);
13
14void gluSphere(GLUquadricObj *qobj,
15               float radius,int slices,int stacks);
16void gluCylinder( GLUquadricObj *qobj,
17                  GLdouble baseRadius, GLdouble topRadius, GLdouble height,
18                  GLint slices, GLint stacks );
19void gluDisk( GLUquadricObj *qobj,
20              GLdouble innerRadius, GLdouble outerRadius,
21              GLint slices, GLint loops );
22
23void drawTorus(float rc, int numc, float rt, int numt);
Note: See TracBrowser for help on using the repository browser.