summary refs log tree commit diff stats
path: root/libs/cocos2d/Platforms/iOS/glu.h
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-07-30 11:19:14 -0400
committerStarla Insigna <starla4444@gmail.com>2011-07-30 11:19:14 -0400
commit9cd57b731ab1c666d4a1cb725538fdc137763d12 (patch)
tree5bac45ae5157a1cb10c6e45500cbf72789917980 /libs/cocos2d/Platforms/iOS/glu.h
downloadcartcollect-9cd57b731ab1c666d4a1cb725538fdc137763d12.tar.gz
cartcollect-9cd57b731ab1c666d4a1cb725538fdc137763d12.tar.bz2
cartcollect-9cd57b731ab1c666d4a1cb725538fdc137763d12.zip
Initial commit (version 0.2.1)
Diffstat (limited to 'libs/cocos2d/Platforms/iOS/glu.h')
-rwxr-xr-xlibs/cocos2d/Platforms/iOS/glu.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/libs/cocos2d/Platforms/iOS/glu.h b/libs/cocos2d/Platforms/iOS/glu.h new file mode 100755 index 0000000..86dcac7 --- /dev/null +++ b/libs/cocos2d/Platforms/iOS/glu.h
@@ -0,0 +1,29 @@
1//
2// cocos2d GLU implementation
3//
4// implementation of GLU functions
5//
6#ifndef __COCOS2D_GLU_H
7#define __COCOS2D_GLU_H
8
9// Only compile this code on iOS. These files should NOT be included on your Mac project.
10// But in case they are included, it won't be compiled.
11#import <Availability.h>
12#ifdef __IPHONE_OS_VERSION_MAX_ALLOWED
13
14#import <OpenGLES/ES1/gl.h>
15
16/**
17 @file
18 cocos2d OpenGL GLU implementation
19 */
20
21/** OpenGL gluLookAt implementation */
22void gluLookAt(float eyeX, float eyeY, float eyeZ, float lookAtX, float lookAtY, float lookAtZ, float upX, float upY, float upZ);
23/** OpenGL gluPerspective implementation */
24void gluPerspective(GLfloat fovy, GLfloat aspect, GLfloat zNear, GLfloat zFar);
25
26#endif // __IPHONE_OS_VERSION_MAX_ALLOWED
27
28#endif /* __COCOS2D_GLU_H */
29