2014-08-29 19:56:23 +00:00
|
|
|
/* KallistiGL for KallistiOS ##version##
|
|
|
|
|
|
|
|
libgl/glu.h
|
|
|
|
Copyright (C) 2013-2014 Josh "PH3NOM" Pearson
|
2016-01-04 03:23:32 +00:00
|
|
|
Copyright (C) 2016 Lawrence Sebald
|
2014-08-29 19:56:23 +00:00
|
|
|
|
|
|
|
Some functionality adapted from the original KOS libgl:
|
|
|
|
Copyright (C) 2001 Dan Potter
|
|
|
|
Copyright (C) 2002 Benoit Miller
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GL_GLU_H
|
|
|
|
#define __GL_GLU_H
|
|
|
|
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
__BEGIN_DECLS
|
|
|
|
|
2015-05-09 02:35:16 +00:00
|
|
|
#ifndef BUILD_LIBGL
|
2021-04-09 15:24:47 +00:00
|
|
|
#include "gl.h"
|
2015-05-09 02:35:16 +00:00
|
|
|
#endif
|
2014-08-29 19:56:23 +00:00
|
|
|
|
2015-05-09 02:35:16 +00:00
|
|
|
#define GLU_FALSE 0
|
|
|
|
#define GLU_TRUE 1
|
2014-08-29 19:56:23 +00:00
|
|
|
|
2018-05-29 18:39:27 +00:00
|
|
|
GLAPI void APIENTRY gluOrtho2D(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top);
|
|
|
|
|
2014-08-29 19:56:23 +00:00
|
|
|
/* gluPerspective - Set the Perspective for Rendering. */
|
|
|
|
GLAPI void APIENTRY gluPerspective(GLdouble fovy, GLdouble aspect,
|
|
|
|
GLdouble zNear, GLdouble zFar);
|
|
|
|
|
|
|
|
/* gluLookAt - Set Camera Position for Rendering. */
|
|
|
|
GLAPI void APIENTRY gluLookAt(GLfloat eyex, GLfloat eyey, GLfloat eyez,
|
|
|
|
GLfloat centerx, GLfloat centery, GLfloat centerz,
|
|
|
|
GLfloat upx, GLfloat upy, GLfloat upz);
|
2015-01-04 23:07:57 +00:00
|
|
|
|
2016-01-04 03:23:32 +00:00
|
|
|
GLAPI const GLubyte* APIENTRY gluErrorString(GLenum error);
|
|
|
|
|
2014-08-29 19:56:23 +00:00
|
|
|
__END_DECLS
|
|
|
|
|
|
|
|
#endif /* !__GL_GLU_H */
|