Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import <GLKit/GLKit.h>
- typedef struct {
- GLuint vertexBuffer;
- GLuint indexBuffer;
- GLKMatrix4 matrix;
- GLubyte numFaces;
- } Drawable;
- @interface HelloGLKitViewController : GLKViewController
- @property (strong, nonatomic) EAGLContext *context;
- @property (strong, nonatomic) GLKBaseEffect *effect;
- - (Drawable)createDrawable: (NSString *)objFileName;
- - (void) renderDrawable: (Drawable)object;
- @end
Advertisement
Add Comment
Please, Sign In to add comment