diff options
Diffstat (limited to 'libs/cocos2d/Platforms/iOS/glu.h')
| -rwxr-xr-x | libs/cocos2d/Platforms/iOS/glu.h | 29 |
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 */ | ||
| 22 | void gluLookAt(float eyeX, float eyeY, float eyeZ, float lookAtX, float lookAtY, float lookAtZ, float upX, float upY, float upZ); | ||
| 23 | /** OpenGL gluPerspective implementation */ | ||
| 24 | void gluPerspective(GLfloat fovy, GLfloat aspect, GLfloat zNear, GLfloat zFar); | ||
| 25 | |||
| 26 | #endif // __IPHONE_OS_VERSION_MAX_ALLOWED | ||
| 27 | |||
| 28 | #endif /* __COCOS2D_GLU_H */ | ||
| 29 | |||
