|
cocos2d for iPhone 1.0.0
2D engine for iOS and OS X
|
00001 // 00002 // cocos2d GLU implementation 00003 // 00004 // implementation of GLU functions 00005 // 00006 #ifndef __COCOS2D_GLU_H 00007 #define __COCOS2D_GLU_H 00008 00009 // Only compile this code on iOS. These files should NOT be included on your Mac project. 00010 // But in case they are included, it won't be compiled. 00011 #import <Availability.h> 00012 #ifdef __IPHONE_OS_VERSION_MAX_ALLOWED 00013 00014 #import <OpenGLES/ES1/gl.h> 00015 00022 void gluLookAt(float eyeX, float eyeY, float eyeZ, float lookAtX, float lookAtY, float lookAtZ, float upX, float upY, float upZ); 00024 void gluPerspective(GLfloat fovy, GLfloat aspect, GLfloat zNear, GLfloat zFar); 00025 00026 #endif // __IPHONE_OS_VERSION_MAX_ALLOWED 00027 00028 #endif /* __COCOS2D_GLU_H */ 00029