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