forked from KolibriOS/kolibrios
e08c6968ef
git-svn-id: svn://kolibrios.org@9558 a494cfbc-eb01-0410-851d-a64ba20cac60
45 lines
980 B
C
45 lines
980 B
C
|
|
#ifndef GLU_H
|
|
#define GLU_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void gluPerspective( GLdouble fovy, GLdouble aspect,
|
|
GLdouble zNear, GLdouble zFar );
|
|
|
|
void
|
|
gluLookAt(GLdouble eyex, GLdouble eyey, GLdouble eyez,
|
|
GLdouble centerx, GLdouble centery, GLdouble centerz,
|
|
GLdouble upx, GLdouble upy, GLdouble upz);
|
|
|
|
|
|
void drawTorus(float rc, int numc, float rt, int numt);
|
|
|
|
|
|
|
|
typedef struct {
|
|
int draw_style;
|
|
} GLUquadricObj;
|
|
|
|
#define GLU_LINE 0
|
|
|
|
GLUquadricObj* gluNewQuadric(void);
|
|
void gluQuadricDrawStyle(GLUquadricObj *obj, int style);
|
|
|
|
void gluSphere(GLUquadricObj *qobj,
|
|
float radius,int slices,int stacks);
|
|
void gluCylinder( GLUquadricObj *qobj,
|
|
GLdouble baseRadius, GLdouble topRadius, GLdouble height,
|
|
GLint slices, GLint stacks );
|
|
void gluDisk( GLUquadricObj *qobj,
|
|
GLdouble innerRadius, GLdouble outerRadius,
|
|
GLint slices, GLint loops );
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|