kolibrios/programs/develop/ktcc/trunk/libc/include/tinygl/glu.h
superturbocat2001 e3dcd433b3 - Added TinyGL for ktcc
- Added TinyGL example "gears"

git-svn-id: svn://kolibrios.org@8405 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 14:38:38 +00:00

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